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 = "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;
|
|
}
|