diff options
author | maxine <35892750+amaxine@users.noreply.github.com> | 2024-01-21 00:35:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-21 00:35:30 +0100 |
commit | 99801c9e593868dffcfa289679aeaa8fbe1cc9df (patch) | |
tree | 08aaa35ea97d8fd8e36d50d8e15ca45380bf634d /pkgs/by-name/pa | |
parent | 10f6452490837b679d113241dd33df86785a8e80 (diff) | |
parent | e608bc1aaf329e24183563660cc492422892f831 (diff) |
Merge pull request #282070 from michaelgrahamevans/paper-clip
paper-clip: init at 4.0
Diffstat (limited to 'pkgs/by-name/pa')
-rw-r--r-- | pkgs/by-name/pa/paper-clip/package.nix | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/pkgs/by-name/pa/paper-clip/package.nix b/pkgs/by-name/pa/paper-clip/package.nix new file mode 100644 index 0000000000000..4d71928bfabfb --- /dev/null +++ b/pkgs/by-name/pa/paper-clip/package.nix @@ -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; + }; +}) |