1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "wiffi";
11 version = "1.1.2";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.6";
15
16 src = fetchFromGitHub {
17 owner = "mampfes";
18 repo = "python-wiffi";
19 tag = version;
20 hash = "sha256-pnbzJxq8K947Yg54LysPPho6IRKf0cc+szTETgyzFao=";
21 };
22
23 propagatedBuildInputs = [ aiohttp ];
24
25 # Project has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "wiffi" ];
29
30 meta = with lib; {
31 description = "Python module to interface with STALL WIFFI devices";
32 homepage = "https://github.com/mampfes/python-wiffi";
33 changelog = "https://github.com/mampfes/python-wiffi/blob/${version}/HISTORY.md";
34 license = with licenses; [ mit ];
35 maintainers = with maintainers; [ fab ];
36 };
37}