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
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, setuptools
|
, poetry-core
|
||||||
, setuptools-scm
|
, pytestCheckHook
|
||||||
, wheel
|
, pythonOlder
|
||||||
, pytest
|
}:
|
||||||
}: buildPythonPackage rec {
|
|
||||||
|
buildPythonPackage rec {
|
||||||
pname = "docstring-parser";
|
pname = "docstring-parser";
|
||||||
version = "0.12";
|
version = "0.14.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rr-";
|
owner = "rr-";
|
||||||
repo = "docstring_parser";
|
repo = "docstring_parser";
|
||||||
rev = "${version}";
|
rev = "${version}";
|
||||||
sha256 = "sha256-hQuPJQrGvDs4dJrMLSR4sSnqy45xrF2ufinBG+azuCg=";
|
hash = "sha256-NIijq+QR0panVCGDEQrTlkAvHfIexwS0PxFikglxd74=";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ setuptools-scm ];
|
|
||||||
propagatedBuildInputs = [ pytest setuptools wheel ];
|
nativeBuildInputs = [
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"docstring_parser"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Parse Python docstrings in various flavors. ";
|
description = "Parse Python docstrings in various flavors";
|
||||||
homepage = "https://github.com/rr-/docstring_parser";
|
homepage = "https://github.com/rr-/docstring_parser";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ SomeoneSerge ];
|
maintainers = with maintainers; [ SomeoneSerge ];
|
||||||
|
|
Loading…
Reference in a new issue