noip: 2.1.9-1 -> 3.3.0 (#406501)

This commit is contained in:
Pol Dellaiera 2025-06-09 20:59:12 +02:00 committed by GitHub
commit d3823f5295
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,32 +1,26 @@
{ {
lib, lib,
stdenv, rustPlatform,
fetchurl, fetchurl,
}: }:
stdenv.mkDerivation { rustPlatform.buildRustPackage (finalAttrs: {
pname = "noip"; pname = "noip";
version = "2.1.9-1"; version = "3.3.0";
src = fetchurl { src = fetchurl {
url = "https://www.noip.com/client/linux/noip-duc-linux.tar.gz"; url = "https://dmej8g5cpdyqd.cloudfront.net/downloads/noip-duc_${finalAttrs.version}.tar.gz";
sha256 = "82b9bafab96a0c53b21aaef688bf70b3572e26217b5e2072bdb09da3c4a6f593"; hash = "sha256-e50Wv0dF4/8zp/z2Xp9x4YYWIbAcQ8U8OXoNAE/1ADA=";
}; };
makeFlags = [ "PREFIX=\${out}" ]; cargoHash = "sha256-IX1VrUvix50fFW9Pr6VxrpIhBBTkUuoNH+lXnA41I/4=";
installPhase = ''
mkdir -p $out/bin
cp noip2 $out/bin
'';
enableParallelBuilding = true; meta = {
meta = with lib; {
description = "Dynamic DNS daemon for no-ip accounts"; description = "Dynamic DNS daemon for no-ip accounts";
homepage = "http://noip.com/download?page=linux"; homepage = "http://noip.com/download?page=linux";
license = lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
maintainers = [ lib.maintainers.iand675 ]; maintainers = [ lib.maintainers.iand675 ];
platforms = platforms.linux; platforms = lib.platforms.linux;
mainProgram = "noip2"; mainProgram = "noip-duc";
}; };
} })