Merge pull request #141338 from fabaff/bump-rxv

authored by

Sandro and committed by
GitHub
6edee848 b2575cb6

+28 -17
+28 -17
pkgs/development/python-modules/rxv/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchFromGitHub 4 3 , defusedxml 5 - , requests 6 - , pytest 7 - , requests-mock 4 + , fetchFromGitHub 8 5 , mock 9 - , pytest-cov 6 + , pytest-asyncio 10 7 , pytest-timeout 11 - , testtools 8 + , pytest-vcr 9 + , pytestCheckHook 10 + , pythonOlder 11 + , requests 12 + , requests-mock 12 13 }: 13 14 14 15 buildPythonPackage rec { 15 16 pname = "rxv"; 16 - version = "0.6.0"; 17 + version = "0.7.0"; 18 + format = "pyproject"; 19 + 20 + disabled = pythonOlder "3.7"; 17 21 18 22 src = fetchFromGitHub { 19 23 owner = "wuub"; 20 24 repo = pname; 21 - # Releases are not tagged 22 - rev = "9b586203665031f93960543a272bb1a8f541ed37"; 23 - sha256 = "1dw3ayrzknai2279bhkgzcapzw06rhijlny33rymlbp7irp0gvnj"; 25 + rev = "v${version}"; 26 + sha256 = "0jldnlzbfg5jm1nbgv91mlvcqkswd9f2n3qj9aqlbmj1cxq19yz8"; 24 27 }; 25 28 26 - propagatedBuildInputs = [ defusedxml requests ]; 29 + propagatedBuildInputs = [ 30 + defusedxml 31 + requests 32 + ]; 27 33 28 - checkInputs = [ pytest requests-mock mock pytest-cov pytest-timeout testtools ]; 29 - checkPhase = '' 30 - pytest 31 - ''; 34 + checkInputs = [ 35 + mock 36 + pytest-asyncio 37 + pytest-timeout 38 + pytest-vcr 39 + pytestCheckHook 40 + requests-mock 41 + ]; 42 + 43 + pythonImportsCheck = [ "rxv" ]; 32 44 33 45 meta = with lib; { 34 - description = "Automation Library for Yamaha RX-V473, RX-V573, RX-V673, RX-V773 receivers"; 46 + description = "Python library for communicate with Yamaha RX-Vxxx receivers"; 35 47 homepage = "https://github.com/wuub/rxv"; 36 48 license = licenses.mit; 37 49 maintainers = with maintainers; [ flyfloh ]; 38 50 }; 39 51 } 40 -