2021-04-12 18:23:04 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pythonegardia";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.0.51";
|
2021-04-12 18:23:04 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "b99217e34c59bfae059db400acef99d3d32237d13da6fdce9e0d4decc9a07e61";
|
2021-04-12 18:23:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests, only two test file for manual interaction
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pythonegardia" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python interface with Egardia/Woonveilig alarms";
|
|
|
|
homepage = "https://github.com/jeroenterheerdt/python-egardia";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|