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