nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 35 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "safecopy"; 9 version = "1.7"; 10 11 src = fetchurl { 12 url = "mirror://sourceforge/project/safecopy/safecopy/safecopy-${version}/safecopy-${version}.tar.gz"; 13 sha256 = "1zf4kk9r8za9pn4hzy1y3j02vrhl1rxfk5adyfq0w0k48xfyvys2"; 14 }; 15 16 meta = { 17 description = "Data recovery tool for damaged hardware"; 18 19 longDescription = '' 20 Safecopy is a data recovery tool which tries to extract as much data as possible from a 21 problematic (i.e. damaged sectors) source - like floppy drives, hard disk partitions, CDs, 22 tape devices, etc, where other tools like dd would fail due to I/O errors. 23 24 Safecopy includes a low level IO layer to read CDROM disks in raw mode, and issue device 25 resets and other helpful low level operations on a number of other device classes. 26 ''; 27 28 homepage = "https://safecopy.sourceforge.net"; 29 30 license = lib.licenses.gpl2Plus; 31 32 platforms = lib.platforms.linux; 33 mainProgram = "safecopy"; 34 }; 35}