diff --git a/pkgs/tools/misc/hebcal/default.nix b/pkgs/tools/misc/hebcal/default.nix new file mode 100644 index 000000000000..f7be5dbbbe46 --- /dev/null +++ b/pkgs/tools/misc/hebcal/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, autoreconfHook }: + +stdenv.mkDerivation rec { + version = "4.13"; + name = "hebcal-${version}"; + + src = fetchFromGitHub { + owner = "hebcal"; + repo = "hebcal"; + rev = "v${version}"; + sha256 = "0h9hbfkbq620sw9gnnkivv7yi7dnp1k6axzwr0yccbv5cg67xs3h"; + }; + + nativeBuildInputs = [ autoreconfHook ]; + + doCheck = true; + + meta = with stdenv.lib; { + homepage = "https://hebcal.github.io"; + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fe78ed68005c..48e9f8fc2b0b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1035,6 +1035,8 @@ with pkgs; heatseeker = callPackage ../tools/misc/heatseeker { }; + hebcal = callPackage ../tools/misc/hebcal {}; + hexio = callPackage ../development/tools/hexio { }; hostsblock = callPackage ../tools/misc/hostsblock { };