Skip to content

Commit

Permalink
Merge pull request #218969 from superherointj/python311Packages.markd…
Browse files Browse the repository at this point in the history
…own2-2.4.8

python311Packages.markdown2: 2.4.3 -> 2.4.8
  • Loading branch information
risicle committed Mar 3, 2023
2 parents 470a1a9 + c94182c commit d6d8348
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions pkgs/development/python-modules/markdown2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit d6d8348

Please sign in to comment.