2495e3f88b
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
27 lines
719 B
Nix
27 lines
719 B
Nix
{ lib
|
|
, 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 ];
|
|
};
|
|
}
|