Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pynuki / default.nix
blob9c3dc394cc046cccee5fb993a102af0600620389
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , requests
6 }:
8 buildPythonPackage rec {
9   pname = "pynuki";
10   version = "1.4.1";
11   format = "pyproject";
13   src = fetchFromGitHub {
14     owner = "pschmitt";
15     repo = pname;
16     rev = version;
17     sha256 = "1nymlrf0j430851plp355697p55asfxjmavdh2zr96b16d41dnn4";
18   };
20   nativeBuildInputs = [ poetry-core ];
22   propagatedBuildInputs = [ requests ];
24   # Project has no tests
25   doCheck = false;
26   pythonImportsCheck = [ "pynuki" ];
28   meta = with lib; {
29     description = "Python bindings for nuki.io bridges";
30     homepage = "https://github.com/pschmitt/pynuki";
31     license = with licenses; [ gpl3Only ];
32     maintainers = with maintainers; [ fab ];
33   };