ddclient: update source & homepage

This commit is contained in:
Felix Buehler 2021-06-01 21:03:08 +02:00
parent 79ef19e02b
commit dbfd999f4f

@ -1,12 +1,14 @@
{ lib, fetchurl, perlPackages, iproute2, perl }:
{ lib, fetchFromGitHub, perlPackages, iproute2, perl }:
perlPackages.buildPerlPackage rec {
pname = "ddclient";
version = "3.9.1";
src = fetchurl {
url = "mirror://sourceforge/ddclient/${pname}-${version}.tar.gz";
sha256 = "0w14qnn72j333i3j7flxkw6bzcg4n31d8jfnvhmwa7s9rharx5p4";
src = fetchFromGitHub {
owner = "ddclient";
repo = "ddclient";
rev = "v${version}";
sha256 = "0hf377g4j9r9sac75xp17nk2h58mazswz4vkg4g2gl2yyhvzq91w";
};
# perl packages by default get devdoc which isn't present
@ -38,9 +40,10 @@ perlPackages.buildPerlPackage rec {
meta = with lib; {
description = "Client for updating dynamic DNS service entries";
homepage = "https://sourceforge.net/p/ddclient/wiki/Home/";
license = licenses.gpl2Plus;
homepage = "https://ddclient.net/";
license = licenses.gpl2Plus;
# Mostly since `iproute` is Linux only.
platforms = platforms.linux;
platforms = platforms.linux;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}