pdftag: 1.0.4 -> 1.0.5
This commit is contained in:
parent
2ff2b89fdf
commit
99eb98403d
@ -4,23 +4,17 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pdftag";
|
pname = "pdftag";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
version = "1.0.4";
|
version = "1.0.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "arrufat";
|
owner = "arrufat";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "v${version}";
|
||||||
sha256 = "17zk42h0n33b4p8fqlq2riqwcdi8y9m5n0ccydnk6a4x8rli97b3";
|
sha256 = "1paj8hs27akzsivn01a30fl3zx5gfn1h89wxg2m72fd806hk0hql";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig meson ninja wrapGAppsHook ];
|
nativeBuildInputs = [ pkgconfig meson ninja wrapGAppsHook vala ];
|
||||||
buildInputs = [ gtk3 poppler vala ];
|
buildInputs = [ gtk3 poppler ];
|
||||||
|
|
||||||
patchPhase = ''substituteInPlace meson.build \
|
|
||||||
--replace "install_dir: '/usr" "install_dir: '$out"
|
|
||||||
'';
|
|
||||||
|
|
||||||
preInstall = "mkdir -p $out/share/licenses/${pname}";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Edit metadata found in PDFs";
|
description = "Edit metadata found in PDFs";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user