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

23 lines
610 B
Nix
Raw Normal View History

{stdenv, fetchurl, ncurses, libjpeg, e2fsprogs, zlib, openssl}:
stdenv.mkDerivation {
name = "testdisk-6.8";
src = fetchurl {
url = http://www.cgsecurity.org/testdisk-6.8.tar.bz2;
sha256 = "0cyqikcyi6zj671kkr8vydqskh2r7f3n1v3xks1vh1biaffqq2ir";
};
buildInputs = [ncurses libjpeg e2fsprogs zlib openssl];
meta = {
homepage = http://www.cgsecurity.org/wiki/TestDisk;
license = "GPL";
longDescription = ''
TestDisk is a program for data recovery, primarily designed to
help recover lost partitions and/or make non-booting disks
bootable again.
'';
};
}