tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ext4magic: init at 0.3.2
Roland Koebler
7 years ago
b45fa92d
938fd304
+46
3 changed files
expand all
collapse all
unified
split
maintainers
maintainer-list.nix
pkgs
tools
filesystems
ext4magic
default.nix
top-level
all-packages.nix
+5
maintainers/maintainer-list.nix
···
3144
3144
github = "rittelle";
3145
3145
name = "Lennart Rittel";
3146
3146
};
3147
3147
+
rkoe = {
3148
3148
+
email = "rk@simple-is-better.org";
3149
3149
+
github = "rkoe";
3150
3150
+
name = "Roland Koebler";
3151
3151
+
};
3147
3152
rlupton20 = {
3148
3153
email = "richard.lupton@gmail.com";
3149
3154
github = "rlupton20";
+39
pkgs/tools/filesystems/ext4magic/default.nix
···
1
1
+
{ stdenv, fetchurl, fetchpatch, file, libuuid, e2fsprogs, zlib, bzip2 }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
version = "0.3.2";
5
5
+
name = "ext4magic-${version}";
6
6
+
7
7
+
src = fetchurl {
8
8
+
url = "mirror://sourceforge/ext4magic/${name}.tar.gz";
9
9
+
sha256 = "8d9c6a594f212aecf4eb5410d277caeaea3adc03d35378257dfd017ef20ea115";
10
10
+
};
11
11
+
12
12
+
patches = [
13
13
+
(fetchpatch {
14
14
+
url = https://sourceforge.net/p/ext4magic/tickets/10/attachment/ext4magic-0.3.2-i_dir_acl.patch;
15
15
+
sha256 = "1accydd8kigid68yir2fbihm3r3x8ws3iyznp25snkx41w6y6x8c";
16
16
+
})
17
17
+
];
18
18
+
19
19
+
buildInputs = [ file libuuid e2fsprogs zlib bzip2 ];
20
20
+
installFlags = [ "PREFIX=$(out)" ];
21
21
+
22
22
+
meta = with stdenv.lib; {
23
23
+
description = "Recover / undelete files from ext3 or ext4 partitions";
24
24
+
longDescription = ''
25
25
+
ext4magic can recover/undelete files from ext3 or ext4 partitions
26
26
+
by retrieving file-information from the filesystem journal.
27
27
+
28
28
+
If the information in the journal are sufficient, ext4magic can
29
29
+
recover the most file types, with original filename, owner and group,
30
30
+
file mode bits and also the old atime/mtime stamps.
31
31
+
32
32
+
It's much more effective and works much better than extundelete.
33
33
+
'';
34
34
+
homepage = http://ext4magic.sourceforge.net/ext4magic_en.html;
35
35
+
license = licenses.gpl2;
36
36
+
platforms = platforms.linux;
37
37
+
maintainers = [ maintainers.rkoe ];
38
38
+
};
39
39
+
}
+2
pkgs/top-level/all-packages.nix
···
2209
2209
2210
2210
exiftool = perlPackages.ImageExifTool;
2211
2211
2212
2212
+
ext4magic = callPackage ../tools/filesystems/ext4magic { };
2213
2213
+
2212
2214
extundelete = callPackage ../tools/filesystems/extundelete { };
2213
2215
2214
2216
expect = callPackage ../tools/misc/expect { };