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

27 lines
776 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
2017-07-14 04:40:35 +00:00
stdenv.mkDerivation rec {
2021-01-19 00:01:27 +00:00
version = "4.24";
pname = "hebcal";
2017-07-14 04:40:35 +00:00
src = fetchFromGitHub {
owner = "hebcal";
repo = "hebcal";
rev = "v${version}";
2021-01-19 00:01:27 +00:00
sha256 = "sha256-iWp2S3s8z/y4dZ66Ogqu7Yf4gTUvSS1J5F7d0ifRbcY=";
2017-07-14 04:40:35 +00:00
};
nativeBuildInputs = [ autoreconfHook ];
doCheck = true;
meta = with lib; {
homepage = "https://hebcal.github.io";
2017-07-14 04:40:35 +00:00
description = "A perpetual Jewish Calendar";
longDescription = "Hebcal is a program which prints out the days in the Jewish calendar for a given Gregorian year. Hebcal is fairly flexible in terms of which events in the Jewish calendar it displays.";
license = licenses.gpl2;
maintainers = [ maintainers.hhm ];
platforms = platforms.all;
};
}