Files
nixpkgs/pkgs/by-name/si/sirikali/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

81 lines
1.6 KiB
Nix

{
lib,
stdenv,
libpwquality,
hicolor-icon-theme,
fetchFromGitHub,
cmake,
pkg-config,
qt6,
kdePackages,
cryfs,
encfs,
fscrypt-experimental,
gocryptfs,
securefs,
sshfs,
libgcrypt,
libsecret,
withKWallet ? true,
withLibsecret ? true,
}:
stdenv.mkDerivation rec {
pname = "sirikali";
version = "1.8.3";
src = fetchFromGitHub {
owner = "mhogomchungu";
repo = "sirikali";
rev = version;
hash = "sha256-phZvytma4PsH4RZxWDORyall2qjS9rdLzUQId5IU6qY=";
};
buildInputs = [
qt6.qtbase
libpwquality
hicolor-icon-theme
libgcrypt
]
++ lib.optionals withKWallet [ kdePackages.kwallet ]
++ lib.optionals withLibsecret [ libsecret ];
nativeBuildInputs = [
qt6.wrapQtAppsHook
cmake
pkg-config
];
qtWrapperArgs = [
''--prefix PATH : ${
lib.makeBinPath [
cryfs
encfs
fscrypt-experimental
gocryptfs
securefs
sshfs
]
}''
];
doCheck = true;
cmakeFlags = [
"-DINTERNAL_LXQT_WALLET=false"
"-DNOKDESUPPORT=${if withKWallet then "false" else "true"}"
"-DNOSECRETSUPPORT=${if withLibsecret then "false" else "true"}"
"-DBUILD_WITH_QT6=true"
];
meta = with lib; {
description = "Qt/C++ GUI front end to sshfs, ecryptfs-simple, cryfs, gocryptfs, securefs, fscrypt and encfs";
homepage = "https://github.com/mhogomchungu/sirikali";
changelog = "https://github.com/mhogomchungu/sirikali/blob/${src.rev}/changelog";
license = licenses.gpl3Only;
maintainers = with maintainers; [ linuxissuper ];
mainProgram = "sirikali";
platforms = platforms.all;
};
}