Added ddrescue
svn path=/nixpkgs/trunk/; revision=11320
This commit is contained in:
parent
ff2fe8dce9
commit
fa40aa96f5
20
pkgs/tools/system/ddrescue/1.8.nix
Normal file
20
pkgs/tools/system/ddrescue/1.8.nix
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
args : with args;
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = http://ftp.gnu.org/gnu/ddrescue/ddrescue-1.8.tar.bz2;
|
||||
sha256 = "080k1s4knh9baw3dxr5vqjjph6dqzkfpk0kpld0a3qc07vsxmhbz";
|
||||
};
|
||||
|
||||
buildInputs = [];
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
|
||||
name = "ddrescue-" + version;
|
||||
meta = {
|
||||
description = "GNU ddrescue - advanced dd for corrupted media";
|
||||
};
|
||||
}
|
||||
|
@ -512,6 +512,9 @@ let pkgs = rec {
|
||||
inherit (gtkLibs) glib;
|
||||
};
|
||||
|
||||
ddrescueFun = builderDefsPackage (selectVersion ../tools/system/ddrescue "1.8") ;
|
||||
ddrescue = ddrescueFun null;
|
||||
|
||||
dnsmasq = import ../tools/networking/dnsmasq {
|
||||
# TODO i18n can be installed as well, implement it?
|
||||
inherit fetchurl stdenv;
|
||||
|
Loading…
Reference in New Issue
Block a user