mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
55 lines
1016 B
Nix
55 lines
1016 B
Nix
{ lib
|
|
, desktop-file-utils
|
|
, exempi
|
|
, fetchFromGitHub
|
|
, glib
|
|
, gtk4
|
|
, libadwaita
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, poppler
|
|
, stdenv
|
|
, vala
|
|
, wrapGAppsHook4
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "paper-clip";
|
|
version = "5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Diego-Ivan";
|
|
repo = "Paper-Clip";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-lkPX8S/0e7qEAfRiq0MyacDrqSWllncd9STxR7NKUFw=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
})
|