python2Packages.pygments: remove
This commit is contained in:
parent
cb695919b2
commit
cf285d46cb
|
@ -1,37 +0,0 @@
|
||||||
{ lib
|
|
||||||
, buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
, fetchpatch
|
|
||||||
, docutils
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "Pygments";
|
|
||||||
version = "2.5.2";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2021-27291.patch";
|
|
||||||
url = "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14.patch";
|
|
||||||
sha256 = "0ap7jgkmvkkzijabsgnfrwl376cjsxa4jmzvqysrkwpjq3q4rxpa";
|
|
||||||
excludes = ["CHANGES"];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ docutils ];
|
|
||||||
|
|
||||||
# Circular dependency with sphinx
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "https://pygments.org/";
|
|
||||||
description = "A generic syntax highlighter";
|
|
||||||
license = lib.licenses.bsd2;
|
|
||||||
maintainers = with lib.maintainers; [ ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -56,8 +56,6 @@ with self; with super; {
|
||||||
inherit (pkgs.buildPackages) meson;
|
inherit (pkgs.buildPackages) meson;
|
||||||
};
|
};
|
||||||
|
|
||||||
pygments = callPackage ../development/python2-modules/Pygments { };
|
|
||||||
|
|
||||||
pygobject3 = callPackage ../development/python2-modules/pygobject {
|
pygobject3 = callPackage ../development/python2-modules/pygobject {
|
||||||
inherit (pkgs) meson;
|
inherit (pkgs) meson;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue