Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / sunwatcher / default.nix
blobee3a2e200b17c123837f144dddc24c2aabcf02d8
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , requests
6 }:
8 buildPythonPackage rec {
9   pname = "sunwatcher";
10   version = "0.2.1";
11   format = "setuptools";
13   disabled = pythonOlder "3.6";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "0swmvmmbfb914k473yv3fc4zizy2abq2qhd7h6lixli11l5wfjxv";
18   };
20   propagatedBuildInputs = [
21     requests
22   ];
24   # Project has no tests
25   doCheck = false;
27   pythonImportsCheck = [ "sunwatcher" ];
29   meta = with lib; {
30     description = "Python module for the SolarLog HTTP API";
31     homepage = "https://bitbucket.org/Lavode/sunwatcher/src/master/";
32     license = with licenses; [ asl20 ];
33     maintainers = with maintainers; [ fab ];
34   };