python3Packages.docstring-parser: init at 0.12

This commit is contained in:
Someone Serge 2021-12-19 05:26:11 +02:00
parent 6c3069f4b4
commit a14d6f5936
No known key found for this signature in database
GPG key ID: A39079F4AE78D20D
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ buildPythonPackage
, fetchFromGitHub
, setuptools
, setuptools_scm
, wheel
, pytest
}: buildPythonPackage rec {
pname = "docstring-parser";
version = "0.12";
src = fetchFromGitHub {
owner = "rr-";
repo = "docstring_parser";
rev = "${version}";
sha256 = "sha256-hQuPJQrGvDs4dJrMLSR4sSnqy45xrF2ufinBG+azuCg=";
};
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ pytest setuptools wheel ];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
meta = with lib; {
description = "Parse Python docstrings in various flavors. ";
homepage = "https://github.com/rr-/docstring_parser";
license = licenses.mit;
maintainers = with maintainers; [ SomeoneSerge ];
};
}

View file

@ -2351,6 +2351,8 @@ in {
docstring-to-markdown = callPackage ../development/python-modules/docstring-to-markdown { };
docstring-parser = callPackage ../development/python-modules/docstring-parser { };
docopt = callPackage ../development/python-modules/docopt { };
docopt-ng = callPackage ../development/python-modules/docopt-ng { };