My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/sunwatcher/default.nix

35 lines
697 B

{ 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 ];
};
}