2022-01-13 20:06:32 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-08-21 13:32:41 +00:00
|
|
|
version = "1.3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "htpdate";
|
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "twekkel";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-08-21 13:32:41 +00:00
|
|
|
sha256 = "sha256-0NLlBNYTJ+hmQLH/UYwIOIbq3G1sDo/A03xFHsXdzig=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"prefix=$(out)"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Utility to fetch time and set the system clock over HTTP";
|
2022-01-13 20:06:32 +00:00
|
|
|
homepage = "https://github.com/twekkel/htpdate";
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2Plus;
|
2022-01-13 20:06:32 +00:00
|
|
|
maintainers = with maintainers; [ julienmalka ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|