summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/kiwiki-client/default.nix
blob: 90571faf1b41c3f55d8a9063714d5f842c9c40a7 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  python-dateutil,
  requests,
}:

buildPythonPackage rec {
  pname = "kiwiki-client";
  version = "0.1.2";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "c7h";
    repo = "kiwiki_client";
    tag = version;
    hash = "sha256-CIBed8HzbUqUIzNy1lHxIgjneA6R8uKtmd43LU92M0Q=";
  };

  propagatedBuildInputs = [
    python-dateutil
    requests
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "kiwiki" ];

  meta = {
    description = "Module to interact with the KIWI.KI API";
    homepage = "https://github.com/c7h/kiwiki_client";
    changelog = "https://github.com/c7h/kiwiki_client/releases/tag/${version}";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ fab ];
  };
}