about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/sdate/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/sdate/default.nix')
-rw-r--r--nixpkgs/pkgs/tools/misc/sdate/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/sdate/default.nix b/nixpkgs/pkgs/tools/misc/sdate/default.nix
new file mode 100644
index 000000000000..69c9d726713b
--- /dev/null
+++ b/nixpkgs/pkgs/tools/misc/sdate/default.nix
@@ -0,0 +1,19 @@
+{ lib, stdenv, fetchurl, autoreconfHook }:
+stdenv.mkDerivation rec {
+  pname = "sdate";
+  version = "0.7";
+  src = fetchurl {
+    url = "https://github.com/ChristophBerg/sdate/archive/${version}.tar.gz";
+    sha256 = "1lfnsb8prac8rspnxcawd138jyhyivwf35rrmfvwq6dhsx23c6vy";
+  };
+
+  buildInputs = [ autoreconfHook ];
+
+  meta = {
+    homepage = "https://www.df7cb.de/projects/sdate";
+    description = "Eternal september version of the date program";
+    license = lib.licenses.gpl2Plus;
+    maintainers = with lib.maintainers; [ edef ];
+    platforms = lib.platforms.all;
+  };
+}