Skip to content

Commit

Permalink
python3Packages.mistune_0_8: mark knownVulnerabilities CVE-2022-34749
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle committed Jul 31, 2022
1 parent 6fde970 commit db8c230
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
12 changes: 10 additions & 2 deletions pkgs/development/python-modules/mistune/common.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{ lib, buildPythonPackage, fetchPypi, nose, version, sha256, format ? "setuptools" }:
{ lib
, buildPythonPackage
, fetchPypi
, nose
, version
, sha256
, format ? "setuptools"
, extraMeta ? {}
}:

buildPythonPackage rec {
inherit version format;
Expand All @@ -15,5 +23,5 @@ buildPythonPackage rec {
description = "The fastest markdown parser in pure Python";
homepage = "https://github.com/lepture/mistune";
license = licenses.bsd3;
};
} // extraMeta;
}
3 changes: 3 additions & 0 deletions pkgs/development/python-modules/mistune/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ self: rec {
mistune_0_8 = self.callPackage ./common.nix {
version = "0.8.4";
sha256 = "59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e";
extraMeta = {
knownVulnerabilities = [ "CVE-2022-34749" ];
};
};
mistune_2_0 = self.callPackage ./common.nix {
version = "2.0.4";
Expand Down

0 comments on commit db8c230

Please sign in to comment.