nixpkgs/pkgs/tools/misc/sdate/default.nix

20 lines
589 B
Nix
Raw Normal View History

2019-01-01 12:50:01 +01:00
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "sdate-${version}";
version = "0.5";
src = fetchurl {
url = "https://github.com/ChristophBerg/sdate/archive/${version}.tar.gz";
sha256 = "0gbjl1jfxjwiiwf9rz38yp6rb1mgzhawcyg0g9byl6m4kgivf0cx";
};
buildInputs = [ autoreconfHook ];
meta = {
homepage = https://www.df7cb.de/projects/sdate;
description = "Eternal september version of the date program";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ edef ];
platforms = stdenv.lib.platforms.all;
};
}