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

28 lines
670 B
Nix
Raw Normal View History

2015-02-27 05:30:08 +01: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 05:30:08 +01:00
sha256 = "82b9bafab96a0c53b21aaef688bf70b3572e26217b5e2072bdb09da3c4a6f593";
};
makeFlags = [ "PREFIX=\${out}" ];
installPhase =
''
2015-02-27 18:29:58 +01:00
mkdir -p $out/bin
2015-02-27 05:30:08 +01:00
cp noip2 $out/bin
'';
enableParallelBuilding = true;
2015-02-27 16:04:06 +01: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 16:04:06 +01:00
};
2015-02-27 05:30:08 +01:00
}