nixpkgs-suyu/pkgs/development/python-modules/sunwatcher/default.nix
2021-09-28 14:58:37 +02:00

35 lines
697 B
Nix

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