Merge pull request #237080 from linuxissuper/add-package-sirikali

sirikali: init at 1.5.1

authored by

Matthias Beyer and committed by
GitHub
3c1c30ec 481ae84e

+97
+7
maintainers/maintainer-list.nix
··· 9849 9849 githubId = 725613; 9850 9850 name = "Linus Arver"; 9851 9851 }; 9852 + linuxissuper = { 9853 + email = "m+nix@linuxistcool.de"; 9854 + matrix = "@m:linuxistcool.de"; 9855 + github = "linuxissuper"; 9856 + githubId = 74221543; 9857 + name = "Moritz Goltdammer"; 9858 + }; 9852 9859 lionello = { 9853 9860 email = "lio@lunesu.com"; 9854 9861 github = "lionello";
+88
pkgs/tools/security/sirikali/default.nix
··· 1 + { lib 2 + , stdenv 3 + , qtbase 4 + , libpwquality 5 + , hicolor-icon-theme 6 + , fetchFromGitHub 7 + , wrapQtAppsHook 8 + , cmake 9 + , pkg-config 10 + , libgcrypt 11 + , cryfs 12 + , encfs 13 + , fscrypt-experimental 14 + , gocryptfs 15 + , securefs 16 + , sshfs 17 + , libsecret 18 + , kwallet 19 + , withKWallet ? true 20 + , withLibsecret ? true 21 + }: 22 + 23 + stdenv.mkDerivation rec { 24 + pname = "sirikali"; 25 + version = "1.5.1"; 26 + 27 + src = fetchFromGitHub { 28 + owner = "mhogomchungu"; 29 + repo = "sirikali"; 30 + rev = version; 31 + hash = "sha256-1bY8cCMMK4Jie4+9c7eUEBrPEYDaOqFHZ5252TPSotA="; 32 + }; 33 + 34 + buildInputs = [ 35 + qtbase 36 + libpwquality 37 + hicolor-icon-theme 38 + libgcrypt 39 + cryfs 40 + encfs 41 + fscrypt-experimental 42 + gocryptfs 43 + securefs 44 + sshfs 45 + ] 46 + ++ lib.optionals withKWallet [ libsecret ] 47 + ++ lib.optionals withLibsecret [ kwallet ] 48 + ; 49 + 50 + nativeBuildInputs = [ 51 + wrapQtAppsHook 52 + cmake 53 + pkg-config 54 + ]; 55 + 56 + qtWrapperArgs = [ 57 + ''--prefix PATH : ${lib.makeBinPath [ 58 + cryfs 59 + encfs 60 + fscrypt-experimental 61 + gocryptfs 62 + securefs 63 + sshfs 64 + ]}'' 65 + ]; 66 + 67 + postPatch = '' 68 + substituteInPlace "src/engines.cpp" --replace "/sbin/" "/run/wrappers/bin/" 69 + ''; 70 + 71 + doCheck = true; 72 + 73 + cmakeFlags = [ 74 + "-DCMAKE_BUILD_TYPE=RELEASE" 75 + "-DINTERNAL_LXQT_WALLET=false" 76 + "-DNOKDESUPPORT=${if withKWallet then "false" else "true"}" 77 + "-DNOSECRETSUPPORT=${if withLibsecret then "false" else "true"}" 78 + "-DQT5=true" 79 + ]; 80 + 81 + meta = with lib; { 82 + description = "A Qt/C++ GUI front end to sshfs, ecryptfs-simple, cryfs, gocryptfs, securefs, fscrypt and encfs"; 83 + homepage = "https://github.com/mhogomchungu/sirikali"; 84 + changelog = "https://github.com/mhogomchungu/sirikali/blob/${src.rev}/changelog"; 85 + license = licenses.gpl3Only; 86 + maintainers = with maintainers; [ linuxissuper ]; 87 + }; 88 + }
+2
pkgs/top-level/all-packages.nix
··· 42193 42193 42194 42194 dict-cc-py = callPackage ../applications/misc/dict-cc-py { }; 42195 42195 42196 + sirikali = libsForQt5.callPackage ../tools/security/sirikali { }; 42197 + 42196 42198 wttrbar = callPackage ../applications/misc/wttrbar { }; 42197 42199 42198 42200 wpm = callPackage ../applications/misc/wpm { };