diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-06-29 22:40:05 +0200 |
---|---|---|
committer | Robert Schütz <dev@schuetz-co.de> | 2021-06-29 22:40:10 +0200 |
commit | ed6322629865c501a34a3fa9db1f490db577de7e (patch) | |
tree | ecc433dbdcac6e460b28eb8bafb3883059bf86b3 /pkgs/development/python-modules/pyrfxtrx/default.nix | |
parent | b93605da8fa8f803a5d8d8cc59e81ce0d6309291 (diff) |
python3Packages.pyrfxtrx: init at 0.27.0
Diffstat (limited to 'pkgs/development/python-modules/pyrfxtrx/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pyrfxtrx/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyrfxtrx/default.nix b/pkgs/development/python-modules/pyrfxtrx/default.nix new file mode 100644 index 0000000000000..6b63ac8f9fe2e --- /dev/null +++ b/pkgs/development/python-modules/pyrfxtrx/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pyserial +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "pyrfxtrx"; + version = "0.27.0"; + + src = fetchFromGitHub { + owner = "Danielhiversen"; + repo = "pyRFXtrx"; + rev = version; + sha256 = "0nzgy56b2v3bnn9idlb67qkzj4cj5j9v1436ri1y305fqwjy48nm"; + }; + + propagatedBuildInputs = [ + pyserial + ]; + + checkInputs = [ + pytestCheckHook + ]; + + 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 ]; + }; +} |