pdftag: init at 1.0.3 (#45666)
This commit is contained in:
parent
66f6105978
commit
28ef51244a
31
pkgs/tools/graphics/pdftag/default.nix
Normal file
31
pkgs/tools/graphics/pdftag/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, meson, vala, ninja
|
||||
, gtk3, poppler, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pdftag";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "arrufat";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "17zk42h0n33b4p8fqlq2riqwcdi8y9m5n0ccydnk6a4x8rli97b3";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig meson ninja wrapGAppsHook ];
|
||||
buildInputs = [ gtk3 poppler vala ];
|
||||
|
||||
patchPhase = ''substituteInPlace meson.build \
|
||||
--replace "install_dir: '/usr" "install_dir: '$out"
|
||||
'';
|
||||
|
||||
preInstall = "mkdir -p $out/share/licenses/${pname}";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Edit metadata found in PDFs";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ leenaars ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -4594,6 +4594,8 @@ with pkgs;
|
||||
|
||||
pdfcrack = callPackage ../tools/security/pdfcrack { };
|
||||
|
||||
pdftag = callPackage ../tools/graphics/pdftag { };
|
||||
|
||||
pdf2svg = callPackage ../tools/graphics/pdf2svg { };
|
||||
|
||||
fmodex = callPackage ../games/zandronum/fmod.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user