0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

python312Packages.pynordpool: init at 0.2.2

Python API for Nordpool

https://github.com/gjohansson-ST/pynordpool
This commit is contained in:
Fabian Affolter 2024-12-06 00:38:09 +01:00
parent 7dc4b25dea
commit 08e8952e1a
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pynordpool";
version = "0.2.2";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "gjohansson-ST";
repo = "pynordpool";
rev = "refs/tags/v${version}";
hash = "sha256-JoH9ROT/npBd8BTEuynsF9gbE0jJgYLFPiwFv0s9sH4=";
};
build-system = [ poetry-core ];
dependencies = [ aiohttp ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "pynordpool" ];
meta = {
description = "Python api for Nordpool";
homepage = "https://github.com/gjohansson-ST/pynordpool";
changelog = "https://github.com/gjohansson-ST/pynordpool/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}

View file

@ -10518,6 +10518,8 @@ self: super: with self; {
pynotifier = callPackage ../development/python-modules/pynotifier { };
pynordpool = callPackage ../development/python-modules/pynordpool { };
pynslookup = callPackage ../development/python-modules/pynslookup { };
pynuki = callPackage ../development/python-modules/pynuki { };