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