Merge pull request #170314 from fabaff/hkavr
python3Packages.hkavr: init at 0.0.5
This commit is contained in:
commit
effc793bc3
3 changed files with 41 additions and 1 deletions
37
pkgs/development/python-modules/hkavr/default.nix
Normal file
37
pkgs/development/python-modules/hkavr/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hkavr";
|
||||
version = "0.0.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-wa0yS0KPdrQUuxxViweESD6Itn2rFlTwwrPQ0COWIPc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"hkavr"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for interacting with Harman Kardon AVR controllers";
|
||||
homepage = "https://github.com/Devqon/hkavr";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -1055,7 +1055,8 @@
|
|||
hangups
|
||||
];
|
||||
"harman_kardon_avr" = ps: with ps; [
|
||||
]; # missing inputs: hkavr
|
||||
hkavr
|
||||
];
|
||||
"harmony" = ps: with ps; [
|
||||
aioharmony
|
||||
];
|
||||
|
|
|
@ -3821,6 +3821,8 @@ in {
|
|||
|
||||
hjson = callPackage ../development/python-modules/hjson { };
|
||||
|
||||
hkavr = callPackage ../development/python-modules/hkavr { };
|
||||
|
||||
hkdf = callPackage ../development/python-modules/hkdf { };
|
||||
|
||||
hlk-sw16 = callPackage ../development/python-modules/hlk-sw16 { };
|
||||
|
|
Loading…
Reference in a new issue