Merge pull request #118915 from fabaff/nad-receiver
This commit is contained in:
commit
4bdeaceb38
35
pkgs/development/python-modules/nad-receiver/default.nix
Normal file
35
pkgs/development/python-modules/nad-receiver/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ lib
|
||||||
|
, pyserial
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "nad-receiver";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "joopert";
|
||||||
|
repo = "nad_receiver";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1mylrrvxczhplscayf4hvj56vaqkh7mv32fn9pcvla83y39kg8rw";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pyserial
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "nad_receiver" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python interface for NAD receivers";
|
||||||
|
homepage = "https://github.com/joopert/nad_receiver";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -535,7 +535,7 @@
|
|||||||
"mystrom" = ps: with ps; [ aiohttp-cors python-mystrom ];
|
"mystrom" = ps: with ps; [ aiohttp-cors python-mystrom ];
|
||||||
"mythicbeastsdns" = ps: with ps; [ ]; # missing inputs: mbddns
|
"mythicbeastsdns" = ps: with ps; [ ]; # missing inputs: mbddns
|
||||||
"n26" = ps: with ps; [ ]; # missing inputs: n26
|
"n26" = ps: with ps; [ ]; # missing inputs: n26
|
||||||
"nad" = ps: with ps; [ ]; # missing inputs: nad_receiver
|
"nad" = ps: with ps; [ nad-receiver ];
|
||||||
"namecheapdns" = ps: with ps; [ defusedxml ];
|
"namecheapdns" = ps: with ps; [ defusedxml ];
|
||||||
"nanoleaf" = ps: with ps; [ pynanoleaf ];
|
"nanoleaf" = ps: with ps; [ pynanoleaf ];
|
||||||
"neato" = ps: with ps; [ aiohttp-cors pybotvac ];
|
"neato" = ps: with ps; [ aiohttp-cors pybotvac ];
|
||||||
|
@ -4532,6 +4532,8 @@ in {
|
|||||||
|
|
||||||
mysql-connector = callPackage ../development/python-modules/mysql-connector { };
|
mysql-connector = callPackage ../development/python-modules/mysql-connector { };
|
||||||
|
|
||||||
|
nad-receiver = callPackage ../development/python-modules/nad-receiver { };
|
||||||
|
|
||||||
nagiosplugin = callPackage ../development/python-modules/nagiosplugin { };
|
nagiosplugin = callPackage ../development/python-modules/nagiosplugin { };
|
||||||
|
|
||||||
namebench = callPackage ../development/python-modules/namebench { };
|
namebench = callPackage ../development/python-modules/namebench { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user