nixpkgs/pkgs/tools/misc/testdisk/default.nix

28 lines
858 B
Nix
Raw Normal View History

2014-05-19 21:26:47 +02:00
{ stdenv, fetchurl, ncurses, libjpeg, e2fsprogs, zlib, openssl, libuuid, ntfs3g }:
stdenv.mkDerivation {
2016-01-06 12:10:54 +01:00
name = "testdisk-7.0";
2013-07-05 17:29:04 +02:00
src = fetchurl {
2016-01-06 12:10:54 +01:00
url = http://www.cgsecurity.org/testdisk-7.0.tar.bz2;
sha256 = "00bb3b6b22e6aba88580eeb887037aef026968c21a87b5f906c6652cbee3442d";
};
2015-10-31 21:44:58 +01:00
buildInputs = [ ncurses libjpeg zlib openssl libuuid ]
++ stdenv.lib.optionals (!stdenv.isDarwin) [ e2fsprogs ntfs3g ];
2014-05-19 21:26:47 +02:00
enableParallelBuilding = true;
meta = {
homepage = http://www.cgsecurity.org/wiki/TestDisk;
license = stdenv.lib.licenses.gpl2Plus;
2015-10-31 21:44:58 +01:00
platforms = stdenv.lib.platforms.all;
2013-07-05 17:29:04 +02:00
maintainers = [ stdenv.lib.maintainers.eelco ];
longDescription = ''
TestDisk is a program for data recovery, primarily designed to
help recover lost partitions and/or make non-booting disks
bootable again.
'';
};
}