mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +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)
56 lines
961 B
Nix
56 lines
961 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, makeBinaryWrapper
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, vala
|
|
, wrapGAppsHook3
|
|
, gocryptfs
|
|
, gtk3
|
|
, json-glib
|
|
, libgee
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "cryptor";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "moson-mo";
|
|
repo = "cryptor";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-EqiaWgwhSLwZnovqYQ9rfHwvhWucmK0ujSsOhMJEJ1A=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
makeBinaryWrapper
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
json-glib
|
|
libgee
|
|
];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/cryptor \
|
|
--prefix PATH : "${lib.makeBinPath [ gocryptfs ]}"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Simple gocryptfs GUI";
|
|
homepage = "https://github.com/moson-mo/cryptor";
|
|
license = lib.licenses.bsd3;
|
|
mainProgram = "cryptor";
|
|
maintainers = with lib.maintainers; [ fgaz ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|