mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 21:43:32 +00:00
ca77e25522
Diff: https://github.com/elupus/arcam_fmj/compare/refs/tags/1.2.1...1.3.0 Changelog: https://github.com/elupus/arcam_fmj/releases/tag/1.3.0
54 lines
1.0 KiB
Nix
54 lines
1.0 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchFromGitHub
|
|
, aiohttp
|
|
, attrs
|
|
, defusedxml
|
|
, pytest-aiohttp
|
|
, pytest-mock
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "arcam-fmj";
|
|
version = "1.3.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elupus";
|
|
repo = "arcam_fmj";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-TFZoWni33dzioADpTt50fqwBlZ/rdUergGs3s3d0504=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
attrs
|
|
defusedxml
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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";
|
|
changelog = "https://github.com/elupus/arcam_fmj/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|