567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
26 lines
568 B
Nix
26 lines
568 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dokuwiki";
|
|
version = "1.3.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-gtTyO6jmjQT0ZwmxvH+RAe1v5aruNStfP1qz1+AqYXs=";
|
|
};
|
|
|
|
pythonImportsCheck = [ "dokuwiki" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/fmenabe/python-dokuwiki";
|
|
description = "Python module that aims to manage DokuWiki wikis by using the provided XML-RPC API";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ netali ];
|
|
};
|
|
}
|