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

29 lines
670 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl}:
2015-02-27 05:30:08 +01:00
2019-08-13 23:52:01 +02:00
stdenv.mkDerivation {
pname = "noip";
version = "2.1.9-1";
2015-02-27 05:30:08 +01:00
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 lib; {
2015-02-27 16:04:06 +01:00
description = "Dynamic DNS daemon for no-ip accounts";
homepage = "http://noip.com/download?page=linux";
2021-01-15 10:19:50 +01:00
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.iand675 ];
platforms = platforms.linux;
2015-02-27 16:04:06 +01:00
};
2015-02-27 05:30:08 +01:00
}