diff options
author | Orivej Desh <orivej@gmx.fr> | 2017-11-03 00:02:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-03 00:02:08 +0000 |
commit | 9caf89c9034cdc66779f7f583088e444a22e4057 (patch) | |
tree | a4eb057856521028c677ee1f9e97c18013175974 /pkgs/tools | |
parent | c0a0d8b651cac16e0d15c1399bec3644971c83b0 (diff) | |
parent | 6d80920ab948f31b497afda7fcfc6235ada46f85 (diff) | |
download | nixlib-9caf89c9034cdc66779f7f583088e444a22e4057.tar nixlib-9caf89c9034cdc66779f7f583088e444a22e4057.tar.gz nixlib-9caf89c9034cdc66779f7f583088e444a22e4057.tar.bz2 nixlib-9caf89c9034cdc66779f7f583088e444a22e4057.tar.lz nixlib-9caf89c9034cdc66779f7f583088e444a22e4057.tar.xz nixlib-9caf89c9034cdc66779f7f583088e444a22e4057.tar.zst nixlib-9caf89c9034cdc66779f7f583088e444a22e4057.zip |
Merge pull request #31164 from c0bw3b/pkg/htpdate
htpdate: 1.1.3 -> 1.2.0
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/htpdate/default.nix | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/pkgs/tools/networking/htpdate/default.nix b/pkgs/tools/networking/htpdate/default.nix index 10ed8f34e3a6..d937f3c2f0b9 100644 --- a/pkgs/tools/networking/htpdate/default.nix +++ b/pkgs/tools/networking/htpdate/default.nix @@ -1,24 +1,26 @@ -{ stdenv, fetchurl, coreutils, binutils }: +{ stdenv, fetchurl }: stdenv.mkDerivation rec { - version = "1.1.3"; + version = "1.2.0"; name = "htpdate-${version}"; src = fetchurl { - url = "http://twekkel.home.xs4all.nl/htp/htpdate-${version}.tar.gz"; - sha256 = "0hfg4qrsmpqw03m9qwf3zgi4brbf65w6wd3w30nkamc7x8b4vn5i"; + url = "http://www.vervest.org/htp/archive/c/${name}.tar.xz"; + sha256 = "00xwppq3aj951m0srjvxmr17kiaaflyjmbfkvpnfs3jvqhzczci2"; }; - installFlags = [ - "INSTALL=${coreutils}/bin/install" - "STRIP=${binutils}/bin/strip" + makeFlags = [ + "INSTALL=install" + "STRIP=strip" "prefix=$(out)" ]; - meta = { + enableParallelBuilding = true; + + meta = with stdenv.lib; { description = "Utility to fetch time and set the system clock over HTTP"; homepage = http://www.vervest.org/htp/; - platforms = stdenv.lib.platforms.linux; - license = stdenv.lib.licenses.gpl2Plus; + platforms = platforms.unix; + license = licenses.gpl2Plus; }; } |