diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-13 14:04:02 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-13 14:04:02 +0100 |
commit | a9927dfc274839bc5b1b67ac7115aee09b83120b (patch) | |
tree | 960c596024bf36133990bf3cff97edd56e9e16bf /pkgs/development/python-modules/radiotherm | |
parent | 5852a21819542e6809f68ba5a798600e69874e76 (diff) |
python3Packages.radiotherm: init at 2.1.0
Diffstat (limited to 'pkgs/development/python-modules/radiotherm')
-rw-r--r-- | pkgs/development/python-modules/radiotherm/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/radiotherm/default.nix b/pkgs/development/python-modules/radiotherm/default.nix new file mode 100644 index 0000000000000..9cefe8839c1cb --- /dev/null +++ b/pkgs/development/python-modules/radiotherm/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, mock +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "radiotherm"; + version = "2.1.0"; + disabled = pythonOlder "3.6"; + + src = fetchFromGitHub { + owner = "mhrivnak"; + repo = pname; + rev = version; + sha256 = "0p37pc7l2malmjfkdlh4q2cfa6dqpsk1rah2j2xil0pj57ai6bks"; + }; + + checkInputs = [ + mock + pytestCheckHook + ]; + + pythonImportsCheck = [ "radiotherm" ]; + + meta = with lib; { + description = "Python library for Wifi Radiothermostat"; + homepage = "https://github.com/mhrivnak/radiotherm"; + license = with licenses; [ bsd3 ]; + maintainers = with maintainers; [ fab ]; + }; +} |