mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 07:01:12 +00:00
python3Packages.mistune: use finalAttrs
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "mistune";
|
||||
version = "3.3.3";
|
||||
pyproject = true;
|
||||
@@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "lepture";
|
||||
repo = "mistune";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-AAOpQ3GMEifMVM1SaT5zVltIshAQt5SYqCtIvdjy20M=";
|
||||
};
|
||||
|
||||
@@ -25,10 +25,10 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "mistune" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/lepture/mistune/blob/${src.tag}/docs/changes.rst";
|
||||
changelog = "https://github.com/lepture/mistune/blob/${finalAttrs.src.tag}/docs/changes.rst";
|
||||
description = "Sane Markdown parser with useful plugins and renderers";
|
||||
homepage = "https://github.com/lepture/mistune";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user