diff options
author | a-n-n-a-l-e-e <150648636+a-n-n-a-l-e-e@users.noreply.github.com> | 2024-02-18 12:34:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-18 12:34:02 -0800 |
commit | 142d2bff8c57d481bdb6851e5018bf894ac3a2b3 (patch) | |
tree | 8ac202dbacdfb4cd3ae7194bbf7f943ea18941ba /pkgs/by-name/pa | |
parent | 9799eec0796d992ba54edcc0350b28b298619346 (diff) | |
parent | cd3a9fc59a72a0ab177d671418ab2f60a3ed7b0b (diff) | |
download | nixlib-142d2bff8c57d481bdb6851e5018bf894ac3a2b3.tar nixlib-142d2bff8c57d481bdb6851e5018bf894ac3a2b3.tar.gz nixlib-142d2bff8c57d481bdb6851e5018bf894ac3a2b3.tar.bz2 nixlib-142d2bff8c57d481bdb6851e5018bf894ac3a2b3.tar.lz nixlib-142d2bff8c57d481bdb6851e5018bf894ac3a2b3.tar.xz nixlib-142d2bff8c57d481bdb6851e5018bf894ac3a2b3.tar.zst nixlib-142d2bff8c57d481bdb6851e5018bf894ac3a2b3.zip |
Merge pull request #289580 from D3vil0p3r/patch-27
pasco: init at 20040505_1
Diffstat (limited to 'pkgs/by-name/pa')
-rw-r--r-- | pkgs/by-name/pa/pasco/include-string.h.patch | 10 | ||||
-rw-r--r-- | pkgs/by-name/pa/pasco/package.nix | 43 |
2 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/by-name/pa/pasco/include-string.h.patch b/pkgs/by-name/pa/pasco/include-string.h.patch new file mode 100644 index 000000000000..b156a0537071 --- /dev/null +++ b/pkgs/by-name/pa/pasco/include-string.h.patch @@ -0,0 +1,10 @@ +--- a/src/pasco.c 2024-02-18 12:43:27.385857649 +0100 ++++ b/src/pasco.c 2024-02-18 12:44:00.286087384 +0100 +@@ -36,6 +36,7 @@ + #include <stdio.h> + #include <time.h> + #include <math.h> ++#include <string.h> + + // + /* This is the default block size for an activity record */ diff --git a/pkgs/by-name/pa/pasco/package.nix b/pkgs/by-name/pa/pasco/package.nix new file mode 100644 index 000000000000..da9343db3930 --- /dev/null +++ b/pkgs/by-name/pa/pasco/package.nix @@ -0,0 +1,43 @@ +{ 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 ]; + }; +}) |