nixpkgs/pkgs/tools/networking/noip/default.nix

28 lines
670 B
Nix
Raw Normal View History

2015-02-27 04:30:08 +00:00
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "noip-2.1.9-1";
src = fetchurl {
url = https://www.noip.com/client/linux/noip-duc-linux.tar.gz;
2015-02-27 04:30:08 +00:00
sha256 = "82b9bafab96a0c53b21aaef688bf70b3572e26217b5e2072bdb09da3c4a6f593";
};
makeFlags = [ "PREFIX=\${out}" ];
installPhase =
''
2015-02-27 17:29:58 +00:00
mkdir -p $out/bin
2015-02-27 04:30:08 +00:00
cp noip2 $out/bin
'';
enableParallelBuilding = true;
2015-02-27 15:04:06 +00:00
meta = with stdenv.lib; {
description = "Dynamic DNS daemon for no-ip accounts";
homepage = http://noip.com/download?page=linux;
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.iand675 ];
platforms = platforms.linux;
2015-02-27 15:04:06 +00:00
};
2015-02-27 04:30:08 +00:00
}