ghostscriptX: remove appendToName to have a consistent package name for repology

This commit is contained in:
Felix Buehler 2022-02-22 20:13:24 +01:00 committed by Frederik Rietdijk
parent 48324d4d19
commit c01851e31c
2 changed files with 4 additions and 4 deletions

View File

@ -29,11 +29,11 @@ let
in
stdenv.mkDerivation rec {
pname = "ghostscript";
pname = "ghostscript${lib.optionalString (x11Support) "-with-X"}";
version = "9.55.0";
src = fetchurl {
url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9${lib.versions.minor version}${lib.versions.patch version}/${pname}-${version}.tar.xz";
url = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9${lib.versions.minor version}${lib.versions.patch version}/ghostscript-${version}.tar.xz";
sha512 = "27g72152mlwlalg232jxdhaf3ykgmqwi2pccbkwfygql1h9iz40plfbwbs1n0fkvm4zwzg5r9cr8g7w2dxih4jldiidv7rflxdy1is2";
};

View File

@ -33070,10 +33070,10 @@ with pkgs;
ghostscript = callPackage ../misc/ghostscript { };
ghostscriptX = appendToName "with-X" (ghostscript.override {
ghostscriptX = ghostscript.override {
cupsSupport = true;
x11Support = true;
});
};
glava = callPackage ../applications/misc/glava {};