Merge pull request #125273 from Stunkymonkey/ddclient-source

ddclient: update source & homepage
This commit is contained in:
Sandro 2021-06-05 16:41:23 +02:00 committed by GitHub
commit 4214dc08a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];
};
}