blob: d1faa4e4863fa8fa75c1ca9ad5034a56999f6578 (
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
38
39
40
41
42
43
44
45
46
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiohttp,
pytest-aiohttp,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pyemoncms";
version = "0.1.3";
pyproject = true;
src = fetchFromGitHub {
owner = "Open-Building-Management";
repo = "pyemoncms";
tag = "v${version}";
hash = "sha256-Bvcnl3av9SF0CNUjg/QDdvENIEgPg26fAJ522jBrL7Q=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
pythonImportsCheck = [ "pyemoncms" ];
nativeCheckInputs = [
pytest-aiohttp
pytestCheckHook
];
disabledTests = [
# requires networking
"test_timeout"
];
meta = {
changelog = "https://github.com/Open-Building-Management/pyemoncms/releases/tag/${src.tag}";
description = "Python library for emoncms API";
homepage = "https://github.com/Open-Building-Management/pyemoncms";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}
|