at 22.05-pre 704 B view raw
1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "wiffi"; 10 version = "1.0.1"; 11 disabled = pythonOlder "3.6"; 12 13 src = fetchFromGitHub { 14 owner = "mampfes"; 15 repo = "python-wiffi"; 16 rev = version; 17 sha256 = "1bsx8dcmbkajh7hdgxg6wdnyxz4bfnd45piiy3yzyvszfdyvxw0f"; 18 }; 19 20 propagatedBuildInputs = [ aiohttp ]; 21 22 # Project has no tests 23 doCheck = false; 24 pythonImportsCheck = [ "wiffi" ]; 25 26 meta = with lib; { 27 description = "Python module to interface with STALL WIFFI devices"; 28 homepage = "https://github.com/mampfes/python-wiffi"; 29 license = with licenses; [ mit ]; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}