Merge pull request #112336 from fabaff/pynuki
This commit is contained in:
commit
e57a38af90
3 changed files with 37 additions and 1 deletions
34
pkgs/development/python-modules/pynuki/default.nix
Normal file
34
pkgs/development/python-modules/pynuki/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -561,7 +561,7 @@
|
|||
"nsw_rural_fire_service_feed" = ps: with ps; [ ]; # missing inputs: aio_geojson_nsw_rfs_incidents
|
||||
"nuheat" = ps: with ps; [ ]; # missing inputs: nuheat
|
||||
"nuimo_controller" = ps: with ps; [ ]; # missing inputs: --only-binary=all nuimo
|
||||
"nuki" = ps: with ps; [ ]; # missing inputs: pynuki
|
||||
"nuki" = ps: with ps; [ pynuki ];
|
||||
"numato" = ps: with ps; [ ]; # missing inputs: numato-gpio
|
||||
"number" = ps: with ps; [ ];
|
||||
"nut" = ps: with ps; [ ]; # missing inputs: pynut2
|
||||
|
|
|
@ -4900,6 +4900,8 @@ in {
|
|||
|
||||
pynndescent = callPackage ../development/python-modules/pynndescent { };
|
||||
|
||||
pynuki = callPackage ../development/python-modules/pynuki { };
|
||||
|
||||
pysbd = callPackage ../development/python-modules/pysbd { };
|
||||
|
||||
python-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
|
||||
|
|
Loading…
Reference in a new issue