2024-01-19 15:37:03 +01:00
|
|
|
{ lib
|
|
|
|
, desktop-file-utils
|
|
|
|
, exempi
|
|
|
|
, fetchFromGitHub
|
|
|
|
, glib
|
|
|
|
, gtk4
|
|
|
|
, libadwaita
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, poppler
|
|
|
|
, stdenv
|
|
|
|
, vala
|
|
|
|
, wrapGAppsHook4
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "paper-clip";
|
2024-04-23 22:03:40 +02:00
|
|
|
version = "5.5";
|
2024-01-19 15:37:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Diego-Ivan";
|
|
|
|
repo = "Paper-Clip";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-04-23 22:03:40 +02:00
|
|
|
hash = "sha256-WCnWWVYaKq4U2RG3S4Xfja0NvreJIqU2VUJzpX7KI/E=";
|
2024-01-19 15:37:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
vala
|
|
|
|
wrapGAppsHook4
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
exempi
|
|
|
|
glib
|
|
|
|
gtk4
|
|
|
|
libadwaita
|
|
|
|
poppler
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
changelog = "https://github.com/Diego-Ivan/Paper-Clip/releases/tag/v${finalAttrs.version}";
|
|
|
|
description = "Edit PDF document metadata";
|
|
|
|
homepage = "https://github.com/Diego-Ivan/Paper-Clip";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
mainProgram = "pdf-metadata-editor";
|
|
|
|
maintainers = with maintainers; [ michaelgrahamevans ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
})
|