Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
89 lines
1.7 KiB
Nix
89 lines
1.7 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
meson,
|
|
pkg-config,
|
|
ninja,
|
|
glib,
|
|
gtk3,
|
|
nemo,
|
|
dbus-glib,
|
|
libcryptui,
|
|
gcr,
|
|
libnotify,
|
|
gnupg,
|
|
gpgme,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "nemo-seahorse";
|
|
version = "6.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxmint";
|
|
repo = "nemo-extensions";
|
|
tag = version;
|
|
hash = "sha256-39hWA4SNuEeaPA6D5mWMHjJDs4hYK7/ZdPkTyskvm5Y=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/nemo-seahorse";
|
|
|
|
nativeBuildInputs = [
|
|
glib
|
|
meson
|
|
pkg-config
|
|
ninja
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gtk3
|
|
nemo
|
|
gpgme
|
|
dbus-glib
|
|
libcryptui
|
|
gcr
|
|
libnotify
|
|
gnupg
|
|
];
|
|
|
|
postInstall = ''
|
|
glib-compile-schemas $out/share/glib-2.0/schemas
|
|
'';
|
|
|
|
env.PKG_CONFIG_LIBNEMO_EXTENSION_EXTENSIONDIR = "${placeholder "out"}/${nemo.extensiondir}";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/linuxmint/nemo-extensions/tree/master/nemo-seahorse";
|
|
changelog = "https://github.com/linuxmint/nemo-extensions/blob/master/nemo-seahorse/ChangeLog";
|
|
description = "Nemo seahorse extension";
|
|
longDescription = ''
|
|
You can add the extension to nemo using the following configuration:
|
|
```nix
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
(nemo-with-extensions.override {
|
|
extensions = [ nemo-seahorse ];
|
|
})
|
|
];
|
|
|
|
services.dbus.packages = with pkgs; [
|
|
libcryptui
|
|
];
|
|
|
|
services.desktopManager.gnome.extraGSettingsOverridePackages = with pkgs; [
|
|
nemo
|
|
gcr
|
|
libcryptui
|
|
nemo-seahorse
|
|
];
|
|
}
|
|
```
|
|
'';
|
|
license = lib.licenses.gpl2Plus;
|
|
platforms = lib.platforms.linux;
|
|
teams = [ lib.teams.cinnamon ];
|
|
};
|
|
}
|