blob: 69afe290652ad55c605e481942cdc3ceb8654df1 (
plain) (
blame)
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
47
48
49
|
{ lib
, buildPythonPackage
, docopt
, fetchFromGitHub
, pythonOlder
, pytz
, requests
, setuptools
}:
buildPythonPackage rec {
pname = "epion";
version = "0.0.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "devenzo-com";
repo = "epion_python";
rev = "refs/tags/${version}";
hash = "sha256-9tE/SqR+GHZXeE+bOtXkLu+4jy1vO8WoiLjb6MJazxQ=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
docopt
pytz
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"epion"
];
meta = with lib; {
description = "Module to access Epion sensor data";
homepage = "https://github.com/devenzo-com/epion_python";
changelog = "https://github.com/devenzo-com/epion_python/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|