noip: 2.1.9-1 -> 3.3.0

emaryn 29faf4a3 699feef1

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