mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 02:24:30 +00:00

The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
32 lines
700 B
Nix
32 lines
700 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "aeskeyfind";
|
|
version = "1.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://citpsite.s3.amazonaws.com/memory-content/src/aeskeyfind-${version}.tar.gz";
|
|
sha256 = "sha256-FBflwbYehruVJ9sfW+4ZlaDuqCR12zy8iA4Ev3Bgg+Q=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/bin
|
|
cp aeskeyfind $out/bin
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Locates 128-bit and 256-bit AES keys in a captured memory image";
|
|
mainProgram = "aeskeyfind";
|
|
homepage = "https://citp.princeton.edu/our-work/memory/";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ fedx-sudo ];
|
|
};
|
|
|
|
}
|
|
|