1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00
nixpkgs/pkgs/desktops/plasma-5/plasma-vault/default.nix
2018-06-12 14:30:48 +02:00

41 lines
726 B
Nix

{
mkDerivation, lib,
extra-cmake-modules,
kactivities,
plasma-framework,
kwindowsystem,
networkmanager-qt,
libksysguard,
encfs,
cryfs,
fuse
}:
mkDerivation {
name = "plasma-vault";
nativeBuildInputs = [ extra-cmake-modules ];
patches = [
./encfs-path.patch
./cryfs-path.patch
./fusermount-path.patch
];
buildInputs = [
kactivities plasma-framework kwindowsystem libksysguard
networkmanager-qt
];
CXXFLAGS = [
''-DNIXPKGS_ENCFS=\"${lib.getBin encfs}/bin/encfs\"''
''-DNIXPKGS_ENCFSCTL=\"${lib.getBin encfs}/bin/encfsctl\"''
''-DNIXPKGS_CRYFS=\"${lib.getBin cryfs}/bin/cryfs\"''
''-DNIXPKGS_FUSERMOUNT=\"${lib.getBin fuse}/bin/fusermount\"''
];
}