My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/arcam-fmj/default.nix

51 lines
905 B

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, aiohttp
, attrs
, defusedxml
, pytest-aiohttp
, pytest-mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "arcam-fmj";
version = "0.12.0";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "elupus";
repo = "arcam_fmj";
rev = version;
sha256 = "sha256-YkoABsOLEl1gSCRgZr0lLZGzicr3N5KRNLDjfuQhy2U=";
};
propagatedBuildInputs = [
aiohttp
attrs
defusedxml
];
checkInputs = [
pytest-aiohttp
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [
"arcam.fmj"
"arcam.fmj.client"
"arcam.fmj.state"
"arcam.fmj.utils"
];
meta = with lib; {
description = "Python library for speaking to Arcam receivers";
homepage = "https://github.com/elupus/arcam_fmj";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}