blob: 5f0653236acf0fe8e0c002e90c9109051b5efec7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, defusedxml
, requests
, pytest
, requests-mock
, mock
, pytest-cov
, pytest-timeout
, testtools
}:
buildPythonPackage rec {
pname = "rxv";
version = "0.6.0";
src = fetchFromGitHub {
owner = "wuub";
repo = pname;
# Releases are not tagged
rev = "9b586203665031f93960543a272bb1a8f541ed37";
sha256 = "1dw3ayrzknai2279bhkgzcapzw06rhijlny33rymlbp7irp0gvnj";
};
propagatedBuildInputs = [ defusedxml requests ];
checkInputs = [ pytest requests-mock mock pytest-cov pytest-timeout testtools ];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Automation Library for Yamaha RX-V473, RX-V573, RX-V673, RX-V773 receivers";
homepage = "https://github.com/wuub/rxv";
license = licenses.mit;
maintainers = with maintainers; [ flyfloh ];
};
}
|