Skip to content

Commit

Permalink
lock: init at 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo committed Nov 23, 2024
1 parent ba1cb7c commit 2da2172
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions pkgs/by-name/lo/lock/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
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.2";

src = fetchFromGitHub {
owner = "konstantintutsch";
repo = "Lock";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-jJP3E7o9Jikvm3c/78KdA/8BPacb9c99ysgSlGoJXGs=";
};

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
];

# https://github.com/konstantintutsch/Lock/issues/26
hardeningDisable = [ "format" ];

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

0 comments on commit 2da2172

Please sign in to comment.