Diff: https://github.com/gjohansson-ST/pynordpool/compare/v0.3.0...v0.3.1 Changelog: https://github.com/gjohansson-ST/pynordpool/releases/tag/v0.3.1
41 lines
842 B
Nix
41 lines
842 B
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pynordpool";
|
|
version = "0.3.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gjohansson-ST";
|
|
repo = "pynordpool";
|
|
tag = "v${version}";
|
|
hash = "sha256-4s43E3VUO0EOTte4c2ZnWY2fccyVAgqSOVPpxz0+L5s=";
|
|
};
|
|
|
|
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/${src.tag}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|