mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
python311Packages.markdown-macros: modernize
This commit is contained in:
parent
da0073b4cb
commit
2571cbf3ba
@ -3,13 +3,14 @@
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchpatch,
|
||||
setuptools,
|
||||
markdown,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "markdown-macros";
|
||||
version = "0.1.2";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@ -27,10 +28,12 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py --replace "distribute" "setuptools"
|
||||
substituteInPlace setup.py --replace-fail "distribute" "setuptools"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ markdown ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ markdown ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user