Merge pull request #170314 from fabaff/hkavr

python3Packages.hkavr: init at 0.0.5
This commit is contained in:
Martin Weinelt 2022-04-25 22:48:38 +02:00 committed by GitHub
commit effc793bc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 1 deletions

View 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 ];
};
}

View file

@ -1055,7 +1055,8 @@
hangups
];
"harman_kardon_avr" = ps: with ps; [
]; # missing inputs: hkavr
hkavr
];
"harmony" = ps: with ps; [
aioharmony
];

View file

@ -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 { };