chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ex / ext3grep / package.nix
blobbb91a683ba2e755142c75bb453c7058009241b02
1 { lib
2 , stdenv
3 , fetchurl
4 , fetchpatch
5 , e2fsprogs
6 }:
8 stdenv.mkDerivation (finalAttrs: {
9   pname = "ext3grep";
10   version = "0.10.2";
12   src = fetchurl {
13     url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ext3grep/ext3grep-${finalAttrs.version}.tar.gz";
14     hash = "sha256-WG8+k50v/XgvbwBrgaPfLcR3xtoD8h7biGDFxPcZjz4=";
15   };
17   nativeBuildInputs = [ e2fsprogs ];
19   patches = [
20     (fetchpatch {
21       url = "https://salsa.debian.org/pkg-security-team/ext3grep/-/raw/6150141b945dd12240629c07ada0a033b275baeb/debian/patches/001_fix-ftbfs-e2fsprogs_1.42-WIP-702.diff";
22       hash = "sha256-27M+o3vw4eGCFpdqVLXX6b73a8v29yuKphMo8K0xJ3U=";
23     })
24     (fetchpatch {
25       url = "https://salsa.debian.org/pkg-security-team/ext3grep/-/raw/7c4bfb4c19eabaa11e6bf435289bfcd6e6847a9c/debian/patches/002_remove_i_dir_acl.diff";
26       hash = "sha256-2bdlJ+zlsd7zX3ztV7NOTwSmEZf0N1BM8qJ/5avKX+M=";
27     })
28     (fetchpatch {
29       url = "https://salsa.debian.org/pkg-security-team/ext3grep/-/raw/58d63611bb8dfe5c4eacd568e79914f4f0cb2a0f/debian/patches/005_fix-FTBFS-dh-11.patch";
30       hash = "sha256-GfiSMRxbGz1gDMfAjo+FRmNIRK1zq96TVkLBO03pzbI=";
31     })
32     (fetchpatch {
33       url = "https://salsa.debian.org/pkg-security-team/ext3grep/-/raw/8bb5322ced9b099d2af73e77d4a84b6e5b1a9f7f/debian/patches/010_fix-spellings.patch";
34       hash = "sha256-YHUInewf634HaRFUW9djtRZqg7Wdqh/rjp0pbJuOT2M=";
35     })
36     (fetchpatch {
37       url = "https://salsa.debian.org/pkg-security-team/ext3grep/-/raw/662e314abca7d466add8015fc3d2cd49653cffcf/debian/patches/015_fix-clang-build.patch";
38       hash = "sha256-GctPFpBxdZYi5l2dtFTrFx4cTmDXV8BARvpwK+oxMdc=";
39     })
40   ];
42   meta = with lib; {
43     description = "Tool to investigate an ext3 file system for deleted content and possibly recover it";
44     mainProgram = "ext3grep";
45     homepage = "https://code.google.com/archive/p/ext3grep/";
46     maintainers = with maintainers; [ d3vil0p3r ];
47     platforms = platforms.linux;
48     license = licenses.gpl2Plus;
49   };