nixpkgs-suyu/pkgs/development/python-modules/pyrfxtrx/default.nix

38 lines
782 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pyserial
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyrfxtrx";
version = "0.29.0";
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pyRFXtrx";
rev = version;
hash = "sha256-0tdT7UIT9F2z9+ufnzaACVxRybWxFjZObYQCd3hcXTk=";
};
propagatedBuildInputs = [
pyserial
];
checkInputs = [
pytestCheckHook
];
disabledTestPaths = [
# https://github.com/Danielhiversen/pyRFXtrx/issues/130
"tests/test_rollertrol.py"
];
meta = with lib; {
description = "Library to communicate with the RFXtrx family of devices";
homepage = "https://github.com/Danielhiversen/pyRFXtrx";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}