anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / sunwatcher / default.nix
blob0fcac2bfb205f5738cb8ed847de4aaa2b6a78f11
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   requests,
7 }:
9 buildPythonPackage rec {
10   pname = "sunwatcher";
11   version = "0.2.1";
12   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchPypi {
17     inherit pname version;
18     sha256 = "0swmvmmbfb914k473yv3fc4zizy2abq2qhd7h6lixli11l5wfjxv";
19   };
21   propagatedBuildInputs = [ requests ];
23   # Project has no tests
24   doCheck = false;
26   pythonImportsCheck = [ "sunwatcher" ];
28   meta = with lib; {
29     description = "Python module for the SolarLog HTTP API";
30     homepage = "https://bitbucket.org/Lavode/sunwatcher/src/master/";
31     license = with licenses; [ asl20 ];
32     maintainers = with maintainers; [ fab ];
33   };