Deploy iot-data
This commit is contained in:
28
pkgs/iot-data/default.nix
Normal file
28
pkgs/iot-data/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
flask,
|
||||
python3,
|
||||
}:
|
||||
|
||||
let
|
||||
src = fetchGit {
|
||||
url = "https://git.clerie.de/clerie/iot-data.git";
|
||||
rev = "519c68c455961042b282db94a94f0fad0fa2e965";
|
||||
};
|
||||
pname = "iot-data";
|
||||
version = "0.0.1";
|
||||
|
||||
|
||||
in buildPythonPackage rec {
|
||||
inherit src pname version;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flask
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/${python3.sitePackages}/iot_data
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
}
|
@@ -1,6 +1,7 @@
|
||||
self: super: {
|
||||
anycast_healthchecker = self.python3.pkgs.callPackage ./anycast_healthchecker {};
|
||||
flask-excel = self.python3.pkgs.callPackage ./flask-excel {};
|
||||
iot-data = self.python3.pkgs.callPackage ./iot-data {};
|
||||
pyexcel-xlsx = self.python3.pkgs.callPackage ./pyexcel-xlsx {};
|
||||
pyexcel-webio = self.python3.pkgs.callPackage ./pyexcel-webio {};
|
||||
uptimestatus = self.python3.pkgs.callPackage ./uptimestatus {};
|
||||
|
Reference in New Issue
Block a user