Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6}:
7
8stdenv.mkDerivation rec {
9 pname = "sdate";
10 version = "0.7";
11
12 src = fetchFromGitHub {
13 owner = "ChristophBerg";
14 repo = "sdate";
15 rev = version;
16 hash = "sha256-jkwe+bSBa0p1Xzfetsdpw0RYw/gSRxnY2jBOzC5HtJ8=";
17 };
18
19 nativeBuildInputs = [ autoreconfHook ];
20
21 meta = with lib; {
22 homepage = "https://www.df7cb.de/projects/sdate";
23 description = "Eternal september version of the date program";
24 license = licenses.gpl2Plus;
25 maintainers = with maintainers; [ edef ];
26 platforms = platforms.all;
27 mainProgram = "sdate";
28 };
29}