Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyscaffoldext-markdown / default.nix
blobd0330a38f3144980d8237188cda05539029e59ee
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools
5 , setuptools-scm
6 , wheel
7 , importlib-metadata
8 , myst-parser
9 , pyscaffold
10 , configupdater
11 , pre-commit
12 , pytest
13 , pytest-cov
14 , pytest-xdist
15 , tox
16 , twine
17 , virtualenv
20 buildPythonPackage rec {
21   pname = "pyscaffoldext-markdown";
22   version = "0.5";
23   pyproject = true;
25   src = fetchPypi {
26     inherit pname version;
27     hash = "sha256-fycTscq9rjUNFidWyeoH4QwedthdCdqqjXDO9DC4tds=";
28   };
30   nativeBuildInputs = [
31     setuptools
32     setuptools-scm
33     wheel
34   ];
36   propagatedBuildInputs = [
37     importlib-metadata
38     myst-parser
39     pyscaffold
40     wheel
41   ];
43   passthru.optional-dependencies = {
44     testing = [
45       configupdater
46       pre-commit
47       pytest
48       pytest-cov
49       pytest-xdist
50       setuptools-scm
51       tox
52       twine
53       virtualenv
54     ];
55   };
57   pythonImportsCheck = [ "pyscaffoldext.markdown" ];
59   meta = with lib; {
60     description = "PyScaffold extension which uses Markdown instead of reStructuredText";
61     homepage = "https://pypi.org/project/pyscaffoldext-markdown/";
62     license = licenses.mit;
63     maintainers = with maintainers; [ matthewcroughan ];
64   };