1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 requests,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "sunwatcher";
12 version = "0.2.1";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-u0vHCw0h0h6pgadBLPBSwv/4CXNj+3HIJCEtt2rdlWs=";
18 };
19
20 build-system = [ setuptools ];
21
22 dependencies = [ requests ];
23
24 # Project has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "sunwatcher" ];
28
29 meta = with lib; {
30 description = "Python module for the SolarLog HTTP API";
31 homepage = "https://bitbucket.org/Lavode/sunwatcher/src/master/";
32 license = licenses.asl20;
33 maintainers = with maintainers; [ fab ];
34 };
35}