diff options
author | Bobby Rong <rjl931189261@126.com> | 2022-01-10 23:04:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 23:04:27 +0800 |
commit | 87505d494d1b0590806ba717ec78c634db5bbc99 (patch) | |
tree | 8b24dd8f908b0643243993fc639c68ff90d2d7cd /pkgs/tools/networking | |
parent | 92b09d4735639fa4ee7fb550aa9e48b64d3e0d88 (diff) | |
parent | a4f9bd1118f25c865056d1228f3683b272660d25 (diff) |
Merge pull request #153875 from JulienMalka/htpdate
htpdate 1.2.2 -> 1.3.1
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r-- | pkgs/tools/networking/htpdate/default.nix | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/tools/networking/htpdate/default.nix b/pkgs/tools/networking/htpdate/default.nix index cd2b3a18d4215..dbf97e5ce71bf 100644 --- a/pkgs/tools/networking/htpdate/default.nix +++ b/pkgs/tools/networking/htpdate/default.nix @@ -1,26 +1,25 @@ -{ lib, stdenv, fetchurl }: +{ stdenv, lib, fetchFromGitHub }: stdenv.mkDerivation rec { - version = "1.2.2"; + version = "1.3.1"; pname = "htpdate"; - src = fetchurl { - url = "http://www.vervest.org/htp/archive/c/${pname}-${version}.tar.xz"; - sha256 = "0mgr350qwgzrdrwkb9kaj6z7l6hn6a2pwh7sacqvnal5fyc9a7sz"; + src = fetchFromGitHub { + owner = "twekkel"; + repo = pname; + rev = "v${version}"; + sha256 = "JPaxbu7LlGV+Bh5qxVxeNSPnMQNqLaLYWBRbpETSpQs="; }; makeFlags = [ - "INSTALL=install" - "STRIP=${stdenv.cc.bintools.targetPrefix}strip" "prefix=$(out)" ]; - enableParallelBuilding = true; - meta = with lib; { description = "Utility to fetch time and set the system clock over HTTP"; - homepage = "http://www.vervest.org/htp/"; + homepage = "https://github.com/twekkel/htpdate"; platforms = platforms.linux; license = licenses.gpl2Plus; + maintainers = with maintainers; [ julienmalka ]; }; } |