mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
pdftk-legacy: drop
Broken since 2020-08-24
This commit is contained in:
parent
0bd5909ea7
commit
6345356323
|
@ -1,44 +0,0 @@
|
|||
{ fetchurl, lib, stdenv, gcj, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pdftk";
|
||||
version = "2.02";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk-${version}-src.zip";
|
||||
sha256 = "1hdq6zm2dx2f9h7bjrp6a1hfa1ywgkwydp14i2sszjiszljnm3qi";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gcj unzip ];
|
||||
|
||||
hardeningDisable = [ "fortify" "format" ];
|
||||
|
||||
preBuild = ''
|
||||
cd pdftk
|
||||
sed -e 's@/usr/bin/@@g' -i Makefile.*
|
||||
NIX_ENFORCE_PURITY= \
|
||||
make \
|
||||
LIBGCJ="${gcj.cc}/share/java/libgcj-${gcj.cc.version}.jar" \
|
||||
GCJ=gcj GCJH=gcjh GJAR=gjar \
|
||||
-iC ../java all
|
||||
'';
|
||||
|
||||
# Makefile.Debian has almost fitting defaults
|
||||
makeFlags = [ "-f" "Makefile.Debian" "VERSUFF=" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/man/man1
|
||||
cp pdftk $out/bin
|
||||
cp ../pdftk.1 $out/share/man/man1
|
||||
'';
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Simple tool for doing everyday things with PDF documents";
|
||||
homepage = "https://www.pdflabs.com/tools/pdftk-server/";
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ raskin ];
|
||||
platforms = with lib.platforms; linux;
|
||||
broken = true; # Broken on Hydra since 2020-08-24
|
||||
};
|
||||
}
|
|
@ -28856,7 +28856,6 @@ with pkgs;
|
|||
pdftk = callPackage ../tools/typesetting/pdftk {
|
||||
jre = jre8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731
|
||||
};
|
||||
pdftk-legacy = lowPrio (callPackage ../tools/typesetting/pdftk/legacy.nix { });
|
||||
pdfgrep = callPackage ../tools/typesetting/pdfgrep { };
|
||||
|
||||
pdfpc = callPackage ../applications/misc/pdfpc {
|
||||
|
|
Loading…
Reference in a new issue