mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
57bccb3cb8
* treewide: http -> https sources This updates the source urls of all top-level packages from http to https where possible. * buildtorrent: fix url and tab -> spaces
28 lines
848 B
Nix
28 lines
848 B
Nix
{ stdenv, fetchurl, ncurses, libjpeg, e2fsprogs, zlib, openssl, libuuid, ntfs3g }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "testdisk-7.1";
|
|
|
|
src = fetchurl {
|
|
url = https://www.cgsecurity.org/testdisk-7.0.tar.bz2;
|
|
sha256 = "0ba4wfz2qrf60vwvb1qsq9l6j0pgg81qgf7fh22siaz649mkpfq0";
|
|
};
|
|
|
|
buildInputs = [ ncurses libjpeg zlib openssl libuuid ]
|
|
++ stdenv.lib.optionals (!stdenv.isDarwin) [ e2fsprogs ntfs3g ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
homepage = https://www.cgsecurity.org/wiki/TestDisk;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.all;
|
|
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.
|
|
'';
|
|
};
|
|
}
|