python312Packages.pyrfxtrx: refactor
This commit is contained in:
parent
148c6ae940
commit
8ba37aca66
|
@ -3,12 +3,13 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pyserial
|
, pyserial
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, setuptools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyrfxtrx";
|
pname = "pyrfxtrx";
|
||||||
version = "0.31.1";
|
version = "0.31.1";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Danielhiversen";
|
owner = "Danielhiversen";
|
||||||
|
@ -17,7 +18,11 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-Y9UVJZxm5G5ywNLW8nm162cZTs3/mFeI+ZEUGoc9eAs=";
|
hash = "sha256-Y9UVJZxm5G5ywNLW8nm162cZTs3/mFeI+ZEUGoc9eAs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
pyserial
|
pyserial
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -25,14 +30,10 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
|
||||||
# https://github.com/Danielhiversen/pyRFXtrx/issues/130
|
|
||||||
"tests/test_rollertrol.py"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Library to communicate with the RFXtrx family of devices";
|
description = "Library to communicate with the RFXtrx family of devices";
|
||||||
homepage = "https://github.com/Danielhiversen/pyRFXtrx";
|
homepage = "https://github.com/Danielhiversen/pyRFXtrx";
|
||||||
|
changelog = "https://github.com/Danielhiversen/pyRFXtrx/releases/tag/${version}";
|
||||||
license = licenses.lgpl3Plus;
|
license = licenses.lgpl3Plus;
|
||||||
maintainers = with maintainers; [ dotlambda ];
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user