c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
65 lines
1.1 KiB
Nix
65 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
|
|
];
|
|
|
|
passthru.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 ];
|
|
};
|
|
}
|