1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 python-dateutil, 6 pythonOlder, 7 requests, 8}: 9 10buildPythonPackage rec { 11 pname = "kiwiki-client"; 12 version = "0.1.2"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "c7h"; 19 repo = "kiwiki_client"; 20 tag = version; 21 hash = "sha256-CIBed8HzbUqUIzNy1lHxIgjneA6R8uKtmd43LU92M0Q="; 22 }; 23 24 propagatedBuildInputs = [ 25 python-dateutil 26 requests 27 ]; 28 29 # Module has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ "kiwiki" ]; 33 34 meta = with lib; { 35 description = "Module to interact with the KIWI.KI API"; 36 homepage = "https://github.com/c7h/kiwiki_client"; 37 changelog = "https://github.com/c7h/kiwiki_client/releases/tag/${version}"; 38 license = licenses.gpl3Only; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}