Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / rxv / default.nix
blob9f947a78ad2a1059a43a0c90bac0c6c07664fc37
1 { lib
2 , buildPythonPackage
3 , defusedxml
4 , fetchFromGitHub
5 , mock
6 , pytest-asyncio
7 , pytest-timeout
8 , pytest-vcr
9 , pytestCheckHook
10 , pythonOlder
11 , requests
12 , requests-mock
13 , setuptools-scm
16 buildPythonPackage rec {
17   pname = "rxv";
18   version = "0.7.0";
19   format = "pyproject";
21   disabled = pythonOlder "3.7";
23   src = fetchFromGitHub {
24     owner = "wuub";
25     repo = pname;
26     rev = "v${version}";
27     sha256 = "0jldnlzbfg5jm1nbgv91mlvcqkswd9f2n3qj9aqlbmj1cxq19yz8";
28   };
30   nativeBuildInputs = [
31     setuptools-scm
32   ];
34   propagatedBuildInputs = [
35     defusedxml
36     requests
37   ];
39   nativeCheckInputs = [
40     mock
41     pytest-asyncio
42     pytest-timeout
43     pytest-vcr
44     pytestCheckHook
45     requests-mock
46   ];
48   pythonImportsCheck = [ "rxv" ];
50   meta = with lib; {
51     description = "Python library for communicate with Yamaha RX-Vxxx receivers";
52     homepage = "https://github.com/wuub/rxv";
53     license = licenses.mit;
54     maintainers = with maintainers; [ flyfloh ];
55   };