nixpkgs-suyu/pkgs/tools/networking/ddclient/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

24 lines
435 B
Nix

{buildPerlPackage, fetchurl, perl}:
buildPerlPackage {
name = "ddclient-3.8.0";
src = fetchurl {
url = mirror://sourceforge/ddclient/ddclient-3.8.0.tar.gz ;
sha256 = "1cqz6fwx8bcl7zdrvm6irh3bzs8858gkyficww9simyjmz7z3w48";
};
patches = [ ./ddclient-foreground.patch ];
preConfigure = ''
touch Makefile.PL
'';
installPhase = ''
mkdir -p $out/bin
cp ddclient $out/bin
'';
doCheck = false;
}