blob: 208265ba9a3bf924f950fdda334c189142c75252 (
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
|
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "wiffi";
version = "1.1.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "mampfes";
repo = "python-wiffi";
rev = "refs/tags/${version}";
hash = "sha256-pnbzJxq8K947Yg54LysPPho6IRKf0cc+szTETgyzFao=";
};
propagatedBuildInputs = [
aiohttp
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"wiffi"
];
meta = with lib; {
description = "Python module to interface with STALL WIFFI devices";
homepage = "https://github.com/mampfes/python-wiffi";
changelog = "https://github.com/mampfes/python-wiffi/blob/${version}/HISTORY.md";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|