nixpkgs/pkgs/tools/security/aespipe/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
808 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, sharutils, makeWrapper }:
stdenv.mkDerivation rec {
pname = "aespipe";
2024-05-17 00:45:22 +00:00
version = "2.4h";
src = fetchurl {
url = "mirror://sourceforge/loop-aes/aespipe/aespipe-v${version}.tar.bz2";
2024-05-17 00:45:22 +00:00
sha256 = "sha256-6rMR/CbqQyibw632YNYnBJJJSWByXSAm7EkXKUoaukk=";
};
nativeBuildInputs = [ makeWrapper ];
configureFlags = [ "--enable-padlock" "--enable-intelaes" ];
postInstall = ''
cp bz2aespipe $out/bin
wrapProgram $out/bin/bz2aespipe \
2021-01-15 09:19:50 +00:00
--prefix PATH : $out/bin:${lib.makeBinPath [ sharutils ]}
'';
meta = with lib; {
description = "AES encrypting or decrypting pipe";
homepage = "https://loop-aes.sourceforge.net/aespipe.README";
2024-04-26 11:35:31 +00:00
license = licenses.gpl2Only;
maintainers = [ maintainers.goibhniu ];
2021-03-04 07:35:02 +00:00
platforms = platforms.unix;
};
}