python3Packages.markdown-it-py: 1.0.0 -> 1.1.0

This commit is contained in:
Martin Weinelt 2021-08-26 21:32:38 +02:00
parent a1ed3a9514
commit 02c1c4d3b1

View file

@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytestCheckHook
, pythonOlder
, attrs
@ -14,7 +13,7 @@
buildPythonPackage rec {
pname = "markdown-it-py";
version = "1.0.0";
version = "1.1.0";
format = "pyproject";
disabled = pythonOlder "3.6";
@ -23,18 +22,9 @@ buildPythonPackage rec {
owner = "executablebooks";
repo = pname;
rev = "v${version}";
hash = "sha256-GA7P2I8N+i2ISsVgx58zyhrfKMcZ7pL4X9T/trbsr1Y=";
sha256 = "0h7rn3rcqfwmnqs97qczwkw9w5g4df8bgn6sw7k149svfqgrkf56";
};
patches = [
(fetchpatch {
# :arrow_up: UPGRADE: attrs -> v21 (#165)
# https://github.com/executablebooks/markdown-it-py/pull/165
url = "https://github.com/executablebooks/markdown-it-py/commit/78381ffe1a651741594dc93e693b761422512fa2.patch";
sha256 = "1kxhblpi4sycrs3rv50achr8g0wlgq33abg2acra26l736hlsya1";
})
];
propagatedBuildInputs = [ attrs linkify-it-py ]
++ lib.optional (pythonOlder "3.8") typing-extensions;