2017-10-11 05:37:54 +00:00
|
|
|
{
|
|
|
|
mkDerivation, lib,
|
|
|
|
extra-cmake-modules,
|
|
|
|
|
|
|
|
kactivities,
|
|
|
|
plasma-framework,
|
|
|
|
kwindowsystem,
|
2018-05-21 20:59:37 +00:00
|
|
|
networkmanager-qt,
|
2017-10-11 05:37:54 +00:00
|
|
|
libksysguard,
|
|
|
|
|
|
|
|
encfs,
|
|
|
|
cryfs,
|
|
|
|
fuse
|
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation {
|
2022-03-06 21:28:56 +00:00
|
|
|
pname = "plasma-vault";
|
2017-10-11 05:37:54 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
|
|
|
|
|
|
patches = [
|
2021-11-02 11:03:09 +00:00
|
|
|
./0001-encfs-path.patch
|
|
|
|
./0002-cryfs-path.patch
|
|
|
|
./0003-fusermount-path.patch
|
2017-10-11 05:37:54 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
kactivities plasma-framework kwindowsystem libksysguard
|
2018-05-21 20:59:37 +00:00
|
|
|
networkmanager-qt
|
2017-10-11 05:37:54 +00:00
|
|
|
];
|
|
|
|
|
2018-01-16 13:40:57 +00:00
|
|
|
CXXFLAGS = [
|
|
|
|
''-DNIXPKGS_ENCFS=\"${lib.getBin encfs}/bin/encfs\"''
|
|
|
|
''-DNIXPKGS_ENCFSCTL=\"${lib.getBin encfs}/bin/encfsctl\"''
|
2017-10-11 05:37:54 +00:00
|
|
|
|
2018-01-16 13:40:57 +00:00
|
|
|
''-DNIXPKGS_CRYFS=\"${lib.getBin cryfs}/bin/cryfs\"''
|
2017-10-11 05:37:54 +00:00
|
|
|
|
2018-01-16 13:40:57 +00:00
|
|
|
''-DNIXPKGS_FUSERMOUNT=\"${lib.getBin fuse}/bin/fusermount\"''
|
2017-10-11 05:37:54 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
}
|