2020-03-04 12:56:37 +00:00
|
|
|
{ stdenv, fetchurl, sharutils, makeWrapper }:
|
2013-02-18 21:47:41 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "aespipe";
|
2019-10-09 12:42:10 +01:00
|
|
|
version = "2.4f";
|
2013-02-18 21:47:41 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-01-10 08:16:41 +00:00
|
|
|
url = "mirror://sourceforge/loop-aes/aespipe/aespipe-v${version}.tar.bz2";
|
2019-10-09 12:42:10 +01:00
|
|
|
sha256 = "15pg9j27mjzl78mpzkdqd84kdafj0g6j72f8wgjrpp2qkxjy2ddi";
|
2013-02-18 21:47:41 +00:00
|
|
|
};
|
|
|
|
|
2020-03-04 12:56:37 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
2019-10-09 12:42:10 +01:00
|
|
|
configureFlags = [ "--enable-padlock" "--enable-intelaes" ];
|
|
|
|
|
2020-03-04 12:56:37 +00:00
|
|
|
postInstall = ''
|
|
|
|
cp bz2aespipe $out/bin
|
|
|
|
wrapProgram $out/bin/bz2aespipe \
|
|
|
|
--prefix PATH : $out/bin:${stdenv.lib.makeBinPath [ sharutils ]}
|
|
|
|
'';
|
|
|
|
|
2019-10-09 12:42:10 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-02-18 21:47:41 +00:00
|
|
|
description = "AES encrypting or decrypting pipe";
|
2020-03-04 12:56:37 +00:00
|
|
|
homepage = "http://loop-aes.sourceforge.net/aespipe.README";
|
2019-10-09 12:42:10 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
platforms = platforms.linux;
|
2013-02-18 21:47:41 +00:00
|
|
|
};
|
|
|
|
}
|