Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pysmappee / default.nix
blobae9d5fa9830405cd32862dd4094493b69d0a139c
1 { lib
2 , buildPythonPackage
3 , cachetools
4 , fetchFromGitHub
5 , paho-mqtt
6 , pythonOlder
7 , pytz
8 , requests
9 , requests-oauthlib
10 , schedule
13 buildPythonPackage rec {
14   pname = "pysmappee";
15   version = "0.2.29";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "smappee";
22     repo = pname;
23     rev = version;
24     hash = "sha256-Ffi55FZsZUKDcS4qV46NpRK3VP6axzrL2BO+hYW7J9E=";
25   };
27   propagatedBuildInputs = [
28     cachetools
29     paho-mqtt
30     pytz
31     requests
32     requests-oauthlib
33     schedule
34   ];
36   # Project has no tests
37   doCheck = false;
39   pythonImportsCheck = [
40     "pysmappee"
41   ];
43   meta = with lib; {
44     description = "Python Library for the Smappee dev API";
45     homepage = "https://github.com/smappee/pysmappee";
46     license = with licenses; [ mit ];
47     maintainers = with maintainers; [ fab ];
48   };