noip: 2.1.9-1 -> 3.3.0

emaryn 29faf4a3 699feef1

+10 -16
+10 -16
pkgs/by-name/no/noip/package.nix
··· 1 { 2 lib, 3 - stdenv, 4 fetchurl, 5 }: 6 7 - stdenv.mkDerivation { 8 pname = "noip"; 9 - version = "2.1.9-1"; 10 11 src = fetchurl { 12 - url = "https://www.noip.com/client/linux/noip-duc-linux.tar.gz"; 13 - sha256 = "82b9bafab96a0c53b21aaef688bf70b3572e26217b5e2072bdb09da3c4a6f593"; 14 }; 15 16 - makeFlags = [ "PREFIX=\${out}" ]; 17 - installPhase = '' 18 - mkdir -p $out/bin 19 - cp noip2 $out/bin 20 - ''; 21 22 - enableParallelBuilding = true; 23 - 24 - meta = with lib; { 25 description = "Dynamic DNS daemon for no-ip accounts"; 26 homepage = "http://noip.com/download?page=linux"; 27 license = lib.licenses.gpl2Plus; 28 maintainers = [ lib.maintainers.iand675 ]; 29 - platforms = platforms.linux; 30 - mainProgram = "noip2"; 31 }; 32 - }
··· 1 { 2 lib, 3 + rustPlatform, 4 fetchurl, 5 }: 6 7 + rustPlatform.buildRustPackage (finalAttrs: { 8 pname = "noip"; 9 + version = "3.3.0"; 10 11 src = fetchurl { 12 + url = "https://dmej8g5cpdyqd.cloudfront.net/downloads/noip-duc_${finalAttrs.version}.tar.gz"; 13 + hash = "sha256-e50Wv0dF4/8zp/z2Xp9x4YYWIbAcQ8U8OXoNAE/1ADA="; 14 }; 15 16 + cargoHash = "sha256-IX1VrUvix50fFW9Pr6VxrpIhBBTkUuoNH+lXnA41I/4="; 17 18 + meta = { 19 description = "Dynamic DNS daemon for no-ip accounts"; 20 homepage = "http://noip.com/download?page=linux"; 21 license = lib.licenses.gpl2Plus; 22 maintainers = [ lib.maintainers.iand675 ]; 23 + platforms = lib.platforms.linux; 24 + mainProgram = "noip-duc"; 25 }; 26 + })