depot/third_party/nixpkgs/pkgs/development/python-modules/pyrfxtrx/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

35 lines
822 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pyserial,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "pyrfxtrx";
version = "0.31.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pyRFXtrx";
rev = "refs/tags/${version}";
hash = "sha256-Y9UVJZxm5G5ywNLW8nm162cZTs3/mFeI+ZEUGoc9eAs=";
};
build-system = [ setuptools ];
dependencies = [ pyserial ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Library to communicate with the RFXtrx family of devices";
homepage = "https://github.com/Danielhiversen/pyRFXtrx";
changelog = "https://github.com/Danielhiversen/pyRFXtrx/releases/tag/${version}";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}