lol
1{lib, stdenv, fetchurl}:
2
3stdenv.mkDerivation {
4 pname = "noip";
5 version = "2.1.9-1";
6
7 src = fetchurl {
8 url = "https://www.noip.com/client/linux/noip-duc-linux.tar.gz";
9 sha256 = "82b9bafab96a0c53b21aaef688bf70b3572e26217b5e2072bdb09da3c4a6f593";
10 };
11
12 makeFlags = [ "PREFIX=\${out}" ];
13 installPhase =
14 ''
15 mkdir -p $out/bin
16 cp noip2 $out/bin
17 '';
18
19 enableParallelBuilding = true;
20
21 meta = with lib; {
22 description = "Dynamic DNS daemon for no-ip accounts";
23 homepage = "http://noip.com/download?page=linux";
24 license = lib.licenses.gpl2Plus;
25 maintainers = [ lib.maintainers.iand675 ];
26 platforms = platforms.linux;
27 mainProgram = "noip2";
28 };
29}