Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / radiotherm / default.nix
blobe7cd4fb1f8541c8848e8b77057ee87d4274ba4b0
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , mock
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "radiotherm";
11   version = "2.1.0";
12   disabled = pythonOlder "3.6";
14   src = fetchFromGitHub {
15     owner = "mhrivnak";
16     repo = pname;
17     rev = version;
18     sha256 = "0p37pc7l2malmjfkdlh4q2cfa6dqpsk1rah2j2xil0pj57ai6bks";
19   };
21   nativeCheckInputs = [
22     mock
23     pytestCheckHook
24   ];
26   pythonImportsCheck = [ "radiotherm" ];
28   meta = with lib; {
29     description = "Python library for Wifi Radiothermostat";
30     homepage = "https://github.com/mhrivnak/radiotherm";
31     license = with licenses; [ bsd3 ];
32     maintainers = with maintainers; [ fab ];
33   };