nixpkgs/pkgs/development/python-modules/zeversolar/default.nix
Fabian Affolter eff6999c61 python312Packages.zeversolar: init at 0.3.2
Module to interact with the local CGI provided by ZeverSolar

https://github.com/kvanzuijlen/zeversolar
2024-10-26 13:03:06 +02:00

49 lines
969 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytest-mock,
pytestCheckHook,
pythonOlder,
requests,
retry2,
}:
buildPythonPackage rec {
pname = "zeversolar";
version = "0.3.2";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "kvanzuijlen";
repo = "zeversolar";
rev = "refs/tags/${version}";
hash = "sha256-HnF21B7k2MmugMjGIF2EKwwXJWD/WdDvPdz1oaPSS5Y=";
};
build-system = [ poetry-core ];
dependencies = [
requests
retry2
];
nativeCheckInputs = [
pytest-mock
pytestCheckHook
];
pythonImportsCheck = [ "zeversolar" ];
meta = {
description = "Module to interact with the local CGI provided by ZeverSolar";
homepage = "https://github.com/kvanzuijlen/zeversolar";
changelog = "https://github.com/kvanzuijlen/zeversolar/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}