2021-01-11 07:54:33 +00:00
|
|
|
{ lib, 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 \
|
2021-01-15 09:19:50 +00:00
|
|
|
--prefix PATH : $out/bin:${lib.makeBinPath [ sharutils ]}
|
2020-03-04 12:56:37 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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 ];
|
2021-03-04 07:35:02 +00:00
|
|
|
platforms = platforms.unix;
|
2013-02-18 21:47:41 +00:00
|
|
|
};
|
|
|
|
}
|