python311Packages.markdown2: 2.4.1 -> 2.4.8

Release: https://github.com/trentm/python-markdown2/releases/tag/2.4.8
Diff: https://github.com/trentm/python-markdown2/releases/tag/2.4.8
This commit is contained in:
superherointj 2023-03-01 07:03:12 -03:00
parent e3dc1573ff
commit c94182ccf0

View File

@ -8,24 +8,16 @@
buildPythonPackage rec {
pname = "markdown2";
version = "2.4.3";
version = "2.4.8";
# PyPI does not contain tests, so using GitHub instead.
src = fetchFromGitHub {
owner = "trentm";
repo = "python-markdown2";
rev = version;
sha256 = "sha256-zNZ7/dDZbPIwcxSLvf8u5oaAgHLrZ6kk4vXNPUuZs/4=";
sha256 = "sha256-0T3HcfjEApEEWtNZGZcta85dY9d/0mSyRBlrqBQEQwk=";
};
patches = [
(fetchpatch {
name = "SNYK-PYTHON-MARKDOWN2-2606985-xss.patch"; # no CVE (yet?)
url = "https://github.com/trentm/python-markdown2/commit/5898fcc1090ef7cd7783fa1422cc0e53cbca9d1b.patch";
sha256 = "sha256-M6kKxjHVC3O0BvDeEF4swzfpFsDO/LU9IHvfjK4hznA=";
})
];
nativeCheckInputs = [ pygments ];
checkPhase = ''