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