3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/htpdate/default.nix

26 lines
590 B
Nix
Raw Normal View History

2022-01-10 11:02:30 +00:00
{ stdenv, lib, fetchFromGitHub }:
2016-08-02 23:56:10 +01:00
stdenv.mkDerivation rec {
2022-01-24 13:14:10 +00:00
version = "1.3.3";
pname = "htpdate";
2016-08-02 23:56:10 +01:00
2022-01-10 11:02:30 +00:00
src = fetchFromGitHub {
owner = "twekkel";
repo = pname;
rev = "v${version}";
2022-01-24 13:14:10 +00:00
sha256 = "sha256-/xZxwEui8V5kyfGsmwRRkiyhj7lcJQaTmOjBihvdWg8=";
2016-08-02 23:56:10 +01:00
};
2017-11-02 23:21:16 +00:00
makeFlags = [
2016-08-02 23:56:10 +01:00
"prefix=$(out)"
];
meta = with lib; {
2016-08-02 23:56:10 +01:00
description = "Utility to fetch time and set the system clock over HTTP";
2022-01-10 11:02:30 +00:00
homepage = "https://github.com/twekkel/htpdate";
2018-03-19 21:18:22 +00:00
platforms = platforms.linux;
2017-11-02 23:21:16 +00:00
license = licenses.gpl2Plus;
2022-01-10 11:02:30 +00:00
maintainers = with maintainers; [ julienmalka ];
2016-08-02 23:56:10 +01:00
};
}