5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
29 lines
808 B
Nix
29 lines
808 B
Nix
{ lib, stdenv, fetchurl, sharutils, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "aespipe";
|
|
version = "2.4g";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/loop-aes/aespipe/aespipe-v${version}.tar.bz2";
|
|
sha256 = "sha256-v7l+feFh6NfOETsWO9odGo7HfSwa+rVtzIFT16kBh/w=";
|
|
};
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
configureFlags = [ "--enable-padlock" "--enable-intelaes" ];
|
|
|
|
postInstall = ''
|
|
cp bz2aespipe $out/bin
|
|
wrapProgram $out/bin/bz2aespipe \
|
|
--prefix PATH : $out/bin:${lib.makeBinPath [ sharutils ]}
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "AES encrypting or decrypting pipe";
|
|
homepage = "https://loop-aes.sourceforge.net/aespipe.README";
|
|
license = licenses.gpl2Only;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|