depot/third_party/nixpkgs/pkgs/by-name/pa/paper-clip/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

54 lines
1,016 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";
src = fetchFromGitHub {
owner = "Diego-Ivan";
repo = "Paper-Clip";
rev = "v${finalAttrs.version}";
hash = "sha256-WCnWWVYaKq4U2RG3S4Xfja0NvreJIqU2VUJzpX7KI/E=";
};
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;
};
})