diff options
author | Emery Hemingway <ehmry@posteo.net> | 2020-03-04 13:56:37 +0100 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2020-03-16 10:17:25 +0530 |
commit | 95fa9cd0270f803e25f9e27e3af38aea4b4b1632 (patch) | |
tree | d4eda80279fea4dffe11864084d08521eeb32a2d | |
parent | 0bec813abfb4f54e6c83039cf99229d4cd63ac44 (diff) | |
download | nixlib-95fa9cd0270f803e25f9e27e3af38aea4b4b1632.tar nixlib-95fa9cd0270f803e25f9e27e3af38aea4b4b1632.tar.gz nixlib-95fa9cd0270f803e25f9e27e3af38aea4b4b1632.tar.bz2 nixlib-95fa9cd0270f803e25f9e27e3af38aea4b4b1632.tar.lz nixlib-95fa9cd0270f803e25f9e27e3af38aea4b4b1632.tar.xz nixlib-95fa9cd0270f803e25f9e27e3af38aea4b4b1632.tar.zst nixlib-95fa9cd0270f803e25f9e27e3af38aea4b4b1632.zip |
aespipe: install the included bz2aespipe wrapper
-rw-r--r-- | pkgs/tools/security/aespipe/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/tools/security/aespipe/default.nix b/pkgs/tools/security/aespipe/default.nix index 69bef27258e8..e25416e55b88 100644 --- a/pkgs/tools/security/aespipe/default.nix +++ b/pkgs/tools/security/aespipe/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchurl, sharutils, makeWrapper }: stdenv.mkDerivation rec { pname = "aespipe"; @@ -9,11 +9,19 @@ stdenv.mkDerivation rec { sha256 = "15pg9j27mjzl78mpzkdqd84kdafj0g6j72f8wgjrpp2qkxjy2ddi"; }; + nativeBuildInputs = [ makeWrapper ]; + configureFlags = [ "--enable-padlock" "--enable-intelaes" ]; + postInstall = '' + cp bz2aespipe $out/bin + wrapProgram $out/bin/bz2aespipe \ + --prefix PATH : $out/bin:${stdenv.lib.makeBinPath [ sharutils ]} + ''; + meta = with stdenv.lib; { description = "AES encrypting or decrypting pipe"; - homepage = http://loop-aes.sourceforge.net/aespipe.README; + homepage = "http://loop-aes.sourceforge.net/aespipe.README"; license = licenses.gpl2; maintainers = [ maintainers.goibhniu ]; platforms = platforms.linux; |