Added ddrescue

svn path=/nixpkgs/trunk/; revision=11320
This commit is contained in:
Michael Raskin 2008-03-28 11:59:50 +00:00
parent ff2fe8dce9
commit fa40aa96f5
2 changed files with 23 additions and 0 deletions

View 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";
};
}

View File

@ -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;