Merge pull request #119131 from fabaff/pythonegardia

This commit is contained in:
Sandro
2021-04-11 23:10:30 +02:00
committed by GitHub
3 changed files with 33 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "pythonegardia";
version = "1.0.40";
src = fetchPypi {
inherit pname version;
sha256 = "1rv6m5zaflf3nanpl1xmfmfcpg8kzcnmniq1hhgrybsspkc7mvry";
};
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 ];
};
}