Skip to content

Commit

Permalink
python312Packages.pynordpool: init at 0.2.2 (#362246)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Dec 6, 2024
2 parents 408068a + 08e8952 commit 046886a
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/development/python-modules/pynordpool/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10530,6 +10530,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 { };
Expand Down

0 comments on commit 046886a

Please sign in to comment.