ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / arcam-fmj / default.nix
bloba1f4892a245fbc974828767056d08eeaf51451d9
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , aiohttp
6 , attrs
7 , defusedxml
8 , pytest-aiohttp
9 , pytest-mock
10 , pytestCheckHook
13 buildPythonPackage rec {
14   pname = "arcam-fmj";
15   version = "0.12.0";
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "elupus";
21     repo = "arcam_fmj";
22     rev = version;
23     sha256 = "sha256-YkoABsOLEl1gSCRgZr0lLZGzicr3N5KRNLDjfuQhy2U=";
24   };
26   propagatedBuildInputs = [
27     aiohttp
28     attrs
29     defusedxml
30   ];
32   checkInputs = [
33     pytest-aiohttp
34     pytest-mock
35     pytestCheckHook
36   ];
38   pythonImportsCheck = [
39     "arcam.fmj"
40     "arcam.fmj.client"
41     "arcam.fmj.state"
42     "arcam.fmj.utils"
43   ];
45   meta = with lib; {
46     description = "Python library for speaking to Arcam receivers";
47     homepage = "https://github.com/elupus/arcam_fmj";
48     license = licenses.mit;
49     maintainers = with maintainers; [ dotlambda ];
50   };