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