2014-05-19 20:26:47 +01:00
|
|
|
{ stdenv, fetchurl, ncurses, libjpeg, e2fsprogs, zlib, openssl, libuuid, ntfs3g }:
|
2007-09-12 16:49:28 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2018-01-28 18:24:25 +00:00
|
|
|
name = "testdisk-7.1";
|
2013-07-05 16:29:04 +01:00
|
|
|
|
2007-09-12 16:49:28 +01:00
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = https://www.cgsecurity.org/testdisk-7.0.tar.bz2;
|
2018-01-28 18:24:25 +00:00
|
|
|
sha256 = "0ba4wfz2qrf60vwvb1qsq9l6j0pgg81qgf7fh22siaz649mkpfq0";
|
2007-09-12 16:49:28 +01:00
|
|
|
};
|
|
|
|
|
2015-10-31 20:44:58 +00:00
|
|
|
buildInputs = [ ncurses libjpeg zlib openssl libuuid ]
|
|
|
|
++ stdenv.lib.optionals (!stdenv.isDarwin) [ e2fsprogs ntfs3g ];
|
2014-05-19 20:26:47 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2007-09-12 16:49:28 +01:00
|
|
|
|
|
|
|
meta = {
|
2018-01-05 19:42:46 +00:00
|
|
|
homepage = https://www.cgsecurity.org/wiki/TestDisk;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2015-10-31 20:44:58 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2013-07-05 16:29:04 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2009-03-03 13:27:40 +00:00
|
|
|
longDescription = ''
|
2007-09-12 16:49:28 +01:00
|
|
|
TestDisk is a program for data recovery, primarily designed to
|
|
|
|
help recover lost partitions and/or make non-booting disks
|
2009-03-03 13:27:40 +00:00
|
|
|
bootable again.
|
|
|
|
'';
|
2007-09-12 16:49:28 +01:00
|
|
|
};
|
|
|
|
}
|