2021-04-11 14:04:39 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pythonegardia";
|
2021-06-18 23:47:35 +02:00
|
|
|
version = "1.0.51";
|
2021-04-11 14:04:39 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 23:47:35 +02:00
|
|
|
sha256 = "b99217e34c59bfae059db400acef99d3d32237d13da6fdce9e0d4decc9a07e61";
|
2021-04-11 14:04:39 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|