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