python3Packages.sunwatcher: init at 0.2.1

This commit is contained in:
Fabian Affolter 2021-09-28 14:58:37 +02:00
parent 387bdb8751
commit 052ca807c6
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "sunwatcher";
version = "0.2.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "0swmvmmbfb914k473yv3fc4zizy2abq2qhd7h6lixli11l5wfjxv";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "sunwatcher" ];
meta = with lib; {
description = "Python module for the SolarLog HTTP API";
homepage = "https://bitbucket.org/Lavode/sunwatcher/src/master/";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -8745,6 +8745,8 @@ in {
sunpy = callPackage ../development/python-modules/sunpy { };
sunwatcher = callPackage ../development/python-modules/sunwatcher { };
supervise_api = callPackage ../development/python-modules/supervise_api { };
supervisor = callPackage ../development/python-modules/supervisor { };