Files
nixpkgs/pkgs/by-name/pa/pasco/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
962 B
Nix

{
lib,
stdenv,
fetchurl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "pasco";
version = "20040505_1";
src = fetchurl {
url = "mirror://sourceforge/project/fast/Pasco/Pasco%20v${finalAttrs.version}/pasco_${finalAttrs.version}.tar.gz";
hash = "sha256-o7jue+lgVxQQvFZOzJMGd1WihlD7Nb+1WaSutq9vaGg=";
};
patches = [
./include-string.h.patch
];
makeFlags = [
"-C src"
];
postPatch = ''
substituteInPlace src/Makefile \
--replace gcc cc
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp bin/pasco $out/bin
runHook postInstall
'';
meta = with lib; {
description = "Examine the contents of Internet Explorer's cache files for forensic purposes";
mainProgram = "pasco";
homepage = "https://sourceforge.net/projects/fast/files/Pasco/";
maintainers = with maintainers; [ d3vil0p3r ];
platforms = platforms.unix;
license = with licenses; [ bsd3 ];
};
})