Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 16.09 27 lines 858 B view raw
1{ stdenv, fetchurl, ncurses, libjpeg, e2fsprogs, zlib, openssl, libuuid, ntfs3g }: 2 3stdenv.mkDerivation { 4 name = "testdisk-7.0"; 5 6 src = fetchurl { 7 url = http://www.cgsecurity.org/testdisk-7.0.tar.bz2; 8 sha256 = "00bb3b6b22e6aba88580eeb887037aef026968c21a87b5f906c6652cbee3442d"; 9 }; 10 11 buildInputs = [ ncurses libjpeg zlib openssl libuuid ] 12 ++ stdenv.lib.optionals (!stdenv.isDarwin) [ e2fsprogs ntfs3g ]; 13 14 enableParallelBuilding = true; 15 16 meta = { 17 homepage = http://www.cgsecurity.org/wiki/TestDisk; 18 license = stdenv.lib.licenses.gpl2Plus; 19 platforms = stdenv.lib.platforms.all; 20 maintainers = [ stdenv.lib.maintainers.eelco ]; 21 longDescription = '' 22 TestDisk is a program for data recovery, primarily designed to 23 help recover lost partitions and/or make non-booting disks 24 bootable again. 25 ''; 26 }; 27}