nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 requests,
6}:
7
8buildPythonPackage rec {
9 pname = "hkavr";
10 version = "0.0.5";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-wa0yS0KPdrQUuxxViweESD6Itn2rFlTwwrPQ0COWIPc=";
16 };
17
18 propagatedBuildInputs = [ requests ];
19
20 # Module has no tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "hkavr" ];
24
25 meta = {
26 description = "Library for interacting with Harman Kardon AVR controllers";
27 homepage = "https://github.com/Devqon/hkavr";
28 license = with lib.licenses; [ mit ];
29 maintainers = with lib.maintainers; [ fab ];
30 };
31}