about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ga/galleta/package.nix
blob: 9127d5293c3cdb6c09d543b8eee535969ba489f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib
, stdenv
, fetchzip
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "galleta";
  version = "20040505_1";

  src = fetchzip {
    url = "mirror://sourceforge/project/odessa/Galleta/${finalAttrs.version}/galleta_${finalAttrs.version}.zip";
    hash = "sha256-tc5XLToyQZutb51ZoBlGWXDpsSqdJ89bjzJwY8kRncA=";
  };

  makeFlags = [
    "-C src"
  ];

  enableParallelBuilding = true;

  installPhase = ''
    runHook preInstall
    mkdir -p $out/bin
    cp bin/galleta $out/bin
    runHook postInstall
  '';

  meta = with lib; {
    description = "Examine the contents of the IE's cookie files for forensic purposes";
    mainProgram = "galleta";
    homepage = "https://sourceforge.net/projects/odessa/files/Galleta";
    maintainers = with maintainers; [ d3vil0p3r ];
    platforms = platforms.unix;
    license = licenses.bsd3;
  };
})