nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 827 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 sharutils, 6 makeWrapper, 7}: 8 9stdenv.mkDerivation (finalAttrs: { 10 pname = "aespipe"; 11 version = "2.4j"; 12 13 src = fetchurl { 14 url = "mirror://sourceforge/loop-aes/aespipe/aespipe-v${finalAttrs.version}.tar.bz2"; 15 sha256 = "sha256-RI/h5YYSwYSVFkXd2Sb8W9tk/E8vgox2bIKqESfpo+I="; 16 }; 17 18 nativeBuildInputs = [ makeWrapper ]; 19 20 configureFlags = [ 21 "--enable-padlock" 22 "--enable-intelaes" 23 ]; 24 25 postInstall = '' 26 cp bz2aespipe $out/bin 27 wrapProgram $out/bin/bz2aespipe \ 28 --prefix PATH : $out/bin:${lib.makeBinPath [ sharutils ]} 29 ''; 30 31 meta = { 32 description = "AES encrypting or decrypting pipe"; 33 homepage = "https://loop-aes.sourceforge.net/aespipe.README"; 34 license = lib.licenses.gpl2Only; 35 maintainers = [ ]; 36 platforms = lib.platforms.unix; 37 }; 38})