nixpkgs/pkgs/by-name/ht/htpdate/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
626 B
Nix
Raw Normal View History

2022-01-10 11:02:30 +00:00
{
stdenv,
lib,
fetchFromGitHub,
}:
2016-08-02 22:56:10 +00:00
stdenv.mkDerivation rec {
2024-09-03 01:26:26 +00:00
version = "2.0.0";
pname = "htpdate";
2016-08-02 22:56:10 +00:00
2022-01-10 11:02:30 +00:00
src = fetchFromGitHub {
owner = "twekkel";
repo = pname;
rev = "v${version}";
2024-09-03 01:26:26 +00:00
sha256 = "sha256-X7r95Uc4oGB0eVum5D7pC4tebZIyyz73g6Q/D0cjuFM=";
2016-08-02 22:56:10 +00:00
};
2017-11-02 23:21:16 +00:00
makeFlags = [
2016-08-02 22:56:10 +00:00
"prefix=$(out)"
];
meta = with lib; {
2016-08-02 22:56:10 +00: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 ];
2024-02-11 02:19:15 +00:00
mainProgram = "htpdate";
2016-08-02 22:56:10 +00:00
};
}