diff options
| author | Aleksana <me@aleksana.moe> | 2024-11-24 20:11:00 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-24 20:11:00 +0800 |
| commit | 3613290c7ae04ce6d585f226339893da94f369c2 (patch) | |
| tree | 11f1bd72f6d6669831b79af617496af494ab689d | |
| parent | [Backport release-24.11] bign-handheld-thumbnailer: init at 1.1.1 (#358692) (diff) | |
| parent | lock: init at 1.1.3 (diff) | |
| download | nixpkgs-3613290c7ae04ce6d585f226339893da94f369c2.tar.gz | |
[Backport release-24.11] lock: init at 1.1.3 (#358690)
| -rw-r--r-- | pkgs/by-name/lo/lock/package.nix | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/pkgs/by-name/lo/lock/package.nix b/pkgs/by-name/lo/lock/package.nix new file mode 100644 index 000000000000..d00680db26b5 --- /dev/null +++ b/pkgs/by-name/lo/lock/package.nix @@ -0,0 +1,64 @@ +{ + lib, + stdenv, + appstream, + blueprint-compiler, + desktop-file-utils, + fetchFromGitHub, + gdk-pixbuf, + glib, + gpgme, + gtk4, + libadwaita, + meson, + ninja, + nix-update-script, + pkg-config, + wrapGAppsHook4, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "lock"; + version = "1.1.3"; + + src = fetchFromGitHub { + owner = "konstantintutsch"; + repo = "Lock"; + rev = "refs/tags/v${finalAttrs.version}"; + hash = "sha256-ybWuI9hacc2vJ5KpkDlUYLaRhOurNMdTt6JiTN6BvqM="; + }; + + strictDeps = true; + + nativeBuildInputs = [ + appstream + blueprint-compiler + desktop-file-utils + glib # For `glib-compile-schemas` + gtk4 # For `gtk-update-icon-cache` + meson + ninja + pkg-config + wrapGAppsHook4 + ]; + + buildInputs = [ + gdk-pixbuf + gpgme + gtk4 + libadwaita + ]; + + passthru = { + updateScript = nix-update-script { }; + }; + + meta = { + description = "Process data with GnuPG"; + homepage = "https://konstantintutsch.com/Lock"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ getchoo ]; + mainProgram = "com.konstantintutsch.Lock"; + inherit (gpgme.meta) platforms; + }; +}) |
