diff options
author | Florian <flo@halbmastwurf.de> | 2020-01-13 20:28:33 +0100 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-01-16 12:17:26 -0800 |
commit | 4373dba15590ff7302a68b9c3f05c9a9e4962030 (patch) | |
tree | 673c7d5924c7cef253b5e7871d971d77700515d4 /pkgs/development/python-modules | |
parent | 54c409eb01815c8ee8c8b544a0c7e51196f4378e (diff) | |
download | nixpkgs-4373dba15590ff7302a68b9c3f05c9a9e4962030.tar nixpkgs-4373dba15590ff7302a68b9c3f05c9a9e4962030.tar.gz nixpkgs-4373dba15590ff7302a68b9c3f05c9a9e4962030.tar.bz2 nixpkgs-4373dba15590ff7302a68b9c3f05c9a9e4962030.tar.lz nixpkgs-4373dba15590ff7302a68b9c3f05c9a9e4962030.tar.xz nixpkgs-4373dba15590ff7302a68b9c3f05c9a9e4962030.tar.zst nixpkgs-4373dba15590ff7302a68b9c3f05c9a9e4962030.zip |
rxv: init at 0.6.0
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/rxv/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/rxv/default.nix b/pkgs/development/python-modules/rxv/default.nix new file mode 100644 index 00000000000..8133936798e --- /dev/null +++ b/pkgs/development/python-modules/rxv/default.nix @@ -0,0 +1,40 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, defusedxml +, requests +, pytest +, requests-mock +, mock +, pytestcov +, 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 pytestcov 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 ]; + }; +} + |