python3Packages.docstring-parser: init at 0.12
This commit is contained in:
parent
6c3069f4b4
commit
a14d6f5936
2 changed files with 28 additions and 0 deletions
26
pkgs/development/python-modules/docstring-parser/default.nix
Normal file
26
pkgs/development/python-modules/docstring-parser/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue