Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pynuki / default.nix
blob28c7117d680a737dd125c0aa529f2ca7a8b5eae7
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pynacl
6 , pythonOlder
7 , requests
8 }:
10 buildPythonPackage rec {
11   pname = "pynuki";
12   version = "1.6.3";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "pschmitt";
19     repo = "pynuki";
20     rev = "refs/tags/${version}";
21     hash = "sha256-PF5FmAuPcJXq8gQ8HyzdtL2HiiUjueT+LAS1lYRvrwM=";
22   };
24   nativeBuildInputs = [
25     poetry-core
26   ];
28   propagatedBuildInputs = [
29     pynacl
30     requests
31   ];
33   # Project has no tests
34   doCheck = false;
36   pythonImportsCheck = [
37     "pynuki"
38   ];
40   meta = with lib; {
41     description = "Python bindings for nuki.io bridges";
42     homepage = "https://github.com/pschmitt/pynuki";
43     changelog = "https://github.com/pschmitt/pynuki/releases/tag/${version}";
44     license = with licenses; [ gpl3Only ];
45     maintainers = with maintainers; [ fab ];
46   };