diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-07 23:16:44 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-07 23:16:44 +0100 |
commit | b1a667ccd4aa1d13a09d2fd39f40c11461bddc70 (patch) | |
tree | dd3495dd59d8d3df2e57568c286e19acad4154e1 /pkgs/development/python-modules/pynuki | |
parent | 8afeffa2b8b1788f0f24f27da0b4716d07618cdb (diff) |
python3Packages.pynuki: init at 1.4.1
Diffstat (limited to 'pkgs/development/python-modules/pynuki')
-rw-r--r-- | pkgs/development/python-modules/pynuki/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pynuki/default.nix b/pkgs/development/python-modules/pynuki/default.nix new file mode 100644 index 0000000000000..9c3dc394cc046 --- /dev/null +++ b/pkgs/development/python-modules/pynuki/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, poetry-core +, requests +}: + +buildPythonPackage rec { + pname = "pynuki"; + version = "1.4.1"; + format = "pyproject"; + + src = fetchFromGitHub { + owner = "pschmitt"; + repo = pname; + rev = version; + sha256 = "1nymlrf0j430851plp355697p55asfxjmavdh2zr96b16d41dnn4"; + }; + + nativeBuildInputs = [ poetry-core ]; + + propagatedBuildInputs = [ requests ]; + + # Project has no tests + doCheck = false; + pythonImportsCheck = [ "pynuki" ]; + + meta = with lib; { + description = "Python bindings for nuki.io bridges"; + homepage = "https://github.com/pschmitt/pynuki"; + license = with licenses; [ gpl3Only ]; + maintainers = with maintainers; [ fab ]; + }; +} |