nixpkgs/pkgs/development/python-modules/sunwatcher/default.nix
Martin Weinelt 8ea6bde88d
treewide: prune pythonOlder 3.10/3.11
This is a post 3.10 removal cleanup.
2026-02-15 04:33:54 +01:00

34 lines
669 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "sunwatcher";
version = "0.2.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-u0vHCw0h0h6pgadBLPBSwv/4CXNj+3HIJCEtt2rdlWs=";
};
build-system = [ setuptools ];
dependencies = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "sunwatcher" ];
meta = {
description = "Python module for the SolarLog HTTP API";
homepage = "https://bitbucket.org/Lavode/sunwatcher/src/master/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}