depot/third_party/nixpkgs/pkgs/development/python-modules/pyscaffoldext-markdown/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

66 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
wheel,
importlib-metadata,
myst-parser,
pyscaffold,
configupdater,
pre-commit,
pytest,
pytest-cov,
pytest-xdist,
tox,
twine,
virtualenv,
}:
buildPythonPackage rec {
pname = "pyscaffoldext-markdown";
version = "0.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-fycTscq9rjUNFidWyeoH4QwedthdCdqqjXDO9DC4tds=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
wheel
];
propagatedBuildInputs = [
importlib-metadata
myst-parser
pyscaffold
wheel
];
optional-dependencies = {
testing = [
configupdater
pre-commit
pytest
pytest-cov
pytest-xdist
setuptools-scm
tox
twine
virtualenv
];
};
pythonImportsCheck = [ "pyscaffoldext.markdown" ];
meta = with lib; {
description = "PyScaffold extension which uses Markdown instead of reStructuredText";
homepage = "https://pypi.org/project/pyscaffoldext-markdown/";
license = licenses.mit;
maintainers = with maintainers; [ matthewcroughan ];
};
}