Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, fetchurl 4}: 5 6stdenv.mkDerivation rec { 7 pname = "aeskeyfind"; 8 version = "1.0"; 9 10 src = fetchurl { 11 url = "https://citpsite.s3.amazonaws.com/memory-content/src/aeskeyfind-${version}.tar.gz"; 12 sha256 = "sha256-FBflwbYehruVJ9sfW+4ZlaDuqCR12zy8iA4Ev3Bgg+Q="; 13 }; 14 15 installPhase = '' 16 runHook preInstall 17 mkdir -p $out/bin 18 cp aeskeyfind $out/bin 19 runHook postInstall 20 ''; 21 22 meta = with lib; { 23 description = "Locates 128-bit and 256-bit AES keys in a captured memory image"; 24 homepage = "https://citp.princeton.edu/our-work/memory/"; 25 license = licenses.bsd3; 26 maintainers = with maintainers; [ fedx-sudo ]; 27 }; 28 29} 30