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

27 lines
799 B
Nix
Raw Normal View History

2014-05-19 20:26:47 +01:00
{ stdenv, fetchurl, ncurses, libjpeg, e2fsprogs, zlib, openssl, libuuid, ntfs3g }:
stdenv.mkDerivation {
2013-12-14 19:23:23 +00:00
name = "testdisk-6.14";
2013-07-05 16:29:04 +01:00
src = fetchurl {
2013-12-14 19:23:23 +00:00
url = http://www.cgsecurity.org/testdisk-6.14.tar.bz2;
sha256 = "0v1jap83f5h99zv01v3qmqm160d36n4ysi0gyq7xzb3mqgmw75x5";
};
2014-05-19 20:26:47 +01:00
buildInputs = [ ncurses libjpeg e2fsprogs zlib openssl libuuid ntfs3g ];
enableParallelBuilding = true;
meta = {
homepage = http://www.cgsecurity.org/wiki/TestDisk;
license = stdenv.lib.licenses.gpl2Plus;
2013-07-05 16:29:04 +01:00
platforms = stdenv.lib.platforms.linux;
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.
'';
};
}