python310Packages.kiwiki-client: init at 0.1.2
This commit is contained in:
parent
1d168df13a
commit
d40732c5ee
2 changed files with 44 additions and 0 deletions
pkgs
42
pkgs/development/python-modules/kiwiki-client/default.nix
Normal file
42
pkgs/development/python-modules/kiwiki-client/default.nix
Normal file
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "kiwiki-client";
|
||||
version = "0.1.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "c7h";
|
||||
repo = "kiwiki_client";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-CIBed8HzbUqUIzNy1lHxIgjneA6R8uKtmd43LU92M0Q=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-dateutil
|
||||
requests
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"kiwiki"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
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 = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -5075,6 +5075,8 @@ self: super: with self; {
|
|||
|
||||
kivy-garden = callPackage ../development/python-modules/kivy-garden { };
|
||||
|
||||
kiwiki-client = callPackage ../development/python-modules/kiwiki-client { };
|
||||
|
||||
kiwisolver = callPackage ../development/python-modules/kiwisolver { };
|
||||
|
||||
klaus = callPackage ../development/python-modules/klaus { };
|
||||
|
|
Loading…
Reference in a new issue