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