-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
/
default.nix
42 lines (35 loc) · 894 Bytes
/
default.nix
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
{ lib
, asyncio-dgram
, buildPythonPackage
, fetchFromGitHub
, netifaces
, pythonOlder
}:
buildPythonPackage rec {
pname = "keba-kecontact";
version = "3.0.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "dannerph";
repo = "keba-kecontact";
rev = "refs/tags/${version}";
hash = "sha256-gR1ut2IjrU/JMy8/ZFv0jQTB6c3A/tZqtXMpQsapuj0=";
};
propagatedBuildInputs = [
asyncio-dgram
netifaces
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"keba_kecontact"
];
meta = with lib; {
description = "Python library for controlling KEBA charging stations";
homepage = "https://github.com/dannerph/keba-kecontact";
changelog = "https://github.com/dannerph/keba-kecontact/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}