Skip to content

Commit

Permalink
Merge pull request #282070 from michaelgrahamevans/paper-clip
Browse files Browse the repository at this point in the history
paper-clip: init at 4.0
  • Loading branch information
amaxine authored Jan 20, 2024
2 parents 10f6452 + e608bc1 commit 99801c9
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions pkgs/by-name/pa/paper-clip/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{ lib
, desktop-file-utils
, exempi
, fetchFromGitHub
, glib
, gtk4
, libadwaita
, meson
, ninja
, pkg-config
, poppler
, stdenv
, vala
, wrapGAppsHook4
}:

stdenv.mkDerivation (finalAttrs: {
pname = "paper-clip";
version = "4.0";

src = fetchFromGitHub {
owner = "Diego-Ivan";
repo = "Paper-Clip";
rev = "v${finalAttrs.version}";
hash = "sha256-8RZE6YzoJ98D++w7v007cdurMdfZoX3oQvN94F1d9cI=";
};

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;
};
})

0 comments on commit 99801c9

Please sign in to comment.