nixpkgs/pkgs/by-name/pa/paper-clip/package.nix

56 lines
1022 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.5.1";
src = fetchFromGitHub {
owner = "Diego-Ivan";
repo = "Paper-Clip";
rev = "v${finalAttrs.version}";
hash = "sha256-Jdsx5ZhujP0SgEtr4NMbXsTkMYrkQj7Vs+SSYziWpiw=";
};
nativeBuildInputs = [
desktop-file-utils
meson
ninja
pkg-config
vala
wrapGAppsHook4
];
buildInputs = [
exempi
glib
gtk4
libadwaita
poppler
];
meta = {
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 = lib.licenses.gpl3Plus;
mainProgram = "pdf-metadata-editor";
maintainers = lib.teams.gnome-circle.members;
platforms = lib.platforms.linux;
};
})