mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #258154 from dotlambda/mistune-3.0.2
python310Packages.mistune: 3.0.1 -> 3.0.2
This commit is contained in:
commit
29491fcaed
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user