Martin Weinelt
2024-06-24 12:18:25 +02:00
parent 027ed67b02
commit df751885fa
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
hatchling,
pytestCheckHook,
markdown,
@@ -45,19 +46,27 @@ let
in
buildPythonPackage rec {
pname = "pymdown-extensions";
version = "10.7.1";
format = "pyproject";
version = "10.8.1";
pyproject = true;
src = fetchFromGitHub {
owner = "facelessuser";
repo = "pymdown-extensions";
rev = "refs/tags/${version}";
hash = "sha256-P2MkGD0B9mn34ia3Kd4MQej1XryNVXWVMF4JHaPTS0M=";
hash = "sha256-No0RDBgr40xSOiKXQRLRZnMdV+5i4eM8Jwp7c2Jw/ZY=";
};
nativeBuildInputs = [ hatchling ];
patches = [
(fetchpatch2 {
name = "pymdown-extensions-pygments-compat.patch";
url = "https://github.com/facelessuser/pymdown-extensions/commit/f1e2fad862c9738e420b8451dfdfbd9e90e849fc.patch";
hash = "sha256-ENYTRXBJ76VPhhab8MdOh+bkcQNRklXT3thvPi+gHIY=";
})
];
propagatedBuildInputs = [
build-system = [ hatchling ];
dependencies = [
markdown
pygments
];