aespipe: install the included bz2aespipe wrapper
This commit is contained in:
parent
0bec813abf
commit
95fa9cd027
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, sharutils, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "aespipe";
|
pname = "aespipe";
|
||||||
|
@ -9,11 +9,19 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "15pg9j27mjzl78mpzkdqd84kdafj0g6j72f8wgjrpp2qkxjy2ddi";
|
sha256 = "15pg9j27mjzl78mpzkdqd84kdafj0g6j72f8wgjrpp2qkxjy2ddi";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
configureFlags = [ "--enable-padlock" "--enable-intelaes" ];
|
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; {
|
meta = with stdenv.lib; {
|
||||||
description = "AES encrypting or decrypting pipe";
|
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;
|
license = licenses.gpl2;
|
||||||
maintainers = [ maintainers.goibhniu ];
|
maintainers = [ maintainers.goibhniu ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
|
Loading…
Reference in New Issue