mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
7f5b839524
`selectVersion ./foo "bar"' instead of `import ./foo/bar.nix'. * Replaced `with args' with formal function arguments in several packages. * Renamed several files to `default.nix'. As a general rule, version numbers should only be included in the filename when there is a reason to keep multiple versions of a package in Nixpkgs. Otherwise, it just makes it harder to update the package. svn path=/nixpkgs/trunk/; revision=18403
15 lines
321 B
Nix
15 lines
321 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ddrescue-1.8";
|
|
|
|
src = fetchurl {
|
|
url = "http://ftp.gnu.org/gnu/ddrescue/${name}.tar.bz2";
|
|
sha256 = "080k1s4knh9baw3dxr5vqjjph6dqzkfpk0kpld0a3qc07vsxmhbz";
|
|
};
|
|
|
|
meta = {
|
|
description = "GNU ddrescue - advanced dd for corrupted media";
|
|
};
|
|
}
|
|
|