Merge pull request #258154 from dotlambda/mistune-3.0.2

python310Packages.mistune: 3.0.1 -> 3.0.2
This commit is contained in:
OTABI Tomoya 2023-10-06 23:15:21 +09:00 committed by GitHub
commit 29491fcaed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
@ -8,15 +8,17 @@
buildPythonPackage rec {
pname = "mistune";
version = "3.0.1";
version = "3.0.2";
disabled = pythonOlder "3.7";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-6RIRbBOqCUT53FMNs464j2p3CHqxKPSfhKSPTAXqFjw=";
src = fetchFromGitHub {
owner = "lepture";
repo = "mistune";
rev = "refs/tags/v${version}";
hash = "sha256-OoTiqJ7hsFP1Yx+7xW3rL+Yc/O2lCMdhBBbaZucyZXM=";
};
nativeBuildInputs = [
@ -30,7 +32,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "mistune" ];
meta = with lib; {
changelog = "https://github.com/lepture/mistune/blob/v${version}/docs/changes.rst";
changelog = "https://github.com/lepture/mistune/blob/${src.rev}/docs/changes.rst";
description = "A sane Markdown parser with useful plugins and renderers";
homepage = "https://github.com/lepture/mistune";
license = licenses.bsd3;