depot/third_party/nixpkgs/pkgs/development/python-modules/hkavr/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

37 lines
686 B
Nix

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