python310Packages.docstring-parser: 0.12 -> 0.14.1
This commit is contained in:
parent
1ac9ac82f2
commit
e69a0fb6a2
1 changed files with 25 additions and 11 deletions
|
@ -1,25 +1,39 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, wheel
|
||||
, pytest
|
||||
}: buildPythonPackage rec {
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "docstring-parser";
|
||||
version = "0.12";
|
||||
version = "0.14.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rr-";
|
||||
repo = "docstring_parser";
|
||||
rev = "${version}";
|
||||
sha256 = "sha256-hQuPJQrGvDs4dJrMLSR4sSnqy45xrF2ufinBG+azuCg=";
|
||||
hash = "sha256-NIijq+QR0panVCGDEQrTlkAvHfIexwS0PxFikglxd74=";
|
||||
};
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [ pytest setuptools wheel ];
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"docstring_parser"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Parse Python docstrings in various flavors. ";
|
||||
description = "Parse Python docstrings in various flavors";
|
||||
homepage = "https://github.com/rr-/docstring_parser";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SomeoneSerge ];
|
||||
|
|
Loading…
Reference in a new issue