blob: e1899f3cb4dd3615db4f36727244f8f41ff4ee36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
}:
buildPythonPackage rec {
pname = "pynordpool";
version = "0.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "gjohansson-ST";
repo = "pynordpool";
tag = "v${version}";
hash = "sha256-3yMVhdfjl2l56WzI+uRMUwFuYafSH3YfabYqKSK25Y4=";
};
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 ];
};
}
|