29 lines
430 B
Nix
29 lines
430 B
Nix
{
|
|
buildPythonPackage,
|
|
flask,
|
|
python3,
|
|
}:
|
|
|
|
let
|
|
src = fetchGit {
|
|
url = "https://git.clerie.de/clerie/iot-data.git";
|
|
rev = "f60e3a3f89549b4ce88df20888c08a01062d086a";
|
|
};
|
|
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;
|
|
}
|