mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
86 lines
1.5 KiB
Nix
86 lines
1.5 KiB
Nix
{ fetchFromGitHub
|
|
, lib
|
|
, stdenv
|
|
, appstream-glib
|
|
, desktop-file-utils
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, python3
|
|
, rustPlatform
|
|
, rustc
|
|
, cargo
|
|
, wrapGAppsHook3
|
|
, glib
|
|
, gtk4
|
|
, libadwaita
|
|
, wayland
|
|
, gocryptfs
|
|
, cryfs
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vaults";
|
|
version = "0.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mpobaschnig";
|
|
repo = "Vaults";
|
|
rev = version;
|
|
hash = "sha256-jA7OeyRqc5DxkS4sMx9cIbVlZwd++aCQi09uBQik1oA=";
|
|
};
|
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
inherit src;
|
|
name = "${pname}-${version}";
|
|
hash = "sha256-l9Zer6d6kgjIUNiQ1VdQQ57caVNWfzCkdsMf79X8Ar4=";
|
|
};
|
|
|
|
postPatch = ''
|
|
patchShebangs build-aux
|
|
'';
|
|
|
|
makeFlags = [
|
|
"PREFIX=${placeholder "out"}"
|
|
];
|
|
|
|
preFixup = ''
|
|
gappsWrapperArgs+=(
|
|
--prefix PATH : "${lib.makeBinPath [ gocryptfs cryfs ]}"
|
|
)
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
cargo
|
|
rustc
|
|
rustPlatform.cargoSetupHook
|
|
];
|
|
|
|
buildInputs = [
|
|
appstream-glib
|
|
gtk4
|
|
python3
|
|
glib
|
|
libadwaita
|
|
wayland
|
|
gocryptfs
|
|
cryfs
|
|
];
|
|
|
|
meta = {
|
|
description = "GTK frontend for encrypted vaults supporting gocryptfs and CryFS for encryption";
|
|
homepage = "https://mpobaschnig.github.io/vaults/";
|
|
changelog = "https://github.com/mpobaschnig/vaults/releases/tag/${version}";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ benneti ];
|
|
mainProgram = "vaults";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|