nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 38 lines 782 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pyserial 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "pyrfxtrx"; 10 version = "0.29.0"; 11 12 src = fetchFromGitHub { 13 owner = "Danielhiversen"; 14 repo = "pyRFXtrx"; 15 rev = version; 16 hash = "sha256-0tdT7UIT9F2z9+ufnzaACVxRybWxFjZObYQCd3hcXTk="; 17 }; 18 19 propagatedBuildInputs = [ 20 pyserial 21 ]; 22 23 checkInputs = [ 24 pytestCheckHook 25 ]; 26 27 disabledTestPaths = [ 28 # https://github.com/Danielhiversen/pyRFXtrx/issues/130 29 "tests/test_rollertrol.py" 30 ]; 31 32 meta = with lib; { 33 description = "Library to communicate with the RFXtrx family of devices"; 34 homepage = "https://github.com/Danielhiversen/pyRFXtrx"; 35 license = licenses.lgpl3Plus; 36 maintainers = with maintainers; [ dotlambda ]; 37 }; 38}