summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/docstring-parser/default.nix
blob: 5408b11c7d8acb94441b76edf5996aa6f057c7d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ 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 ];
  };
}