1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

Merge pull request #46633 from leenaars/pdftag

pdftag: 1.0.4 -> 1.0.5
This commit is contained in:
Jan Tojnar 2018-09-14 02:17:48 +02:00 committed by GitHub
commit 217c795e20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,23 +4,17 @@
stdenv.mkDerivation rec {
pname = "pdftag";
name = "${pname}-${version}";
version = "1.0.4";
version = "1.0.5";
src = fetchFromGitHub {
owner = "arrufat";
repo = pname;
rev = version;
sha256 = "17zk42h0n33b4p8fqlq2riqwcdi8y9m5n0ccydnk6a4x8rli97b3";
rev = "v${version}";
sha256 = "1paj8hs27akzsivn01a30fl3zx5gfn1h89wxg2m72fd806hk0hql";
};
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}";
nativeBuildInputs = [ pkgconfig meson ninja wrapGAppsHook vala ];
buildInputs = [ gtk3 poppler ];
meta = with stdenv.lib; {
description = "Edit metadata found in PDFs";