hebcal: 4.24 -> 5.9.0
Diff: https://github.com/hebcal/hebcal/compare/v4.24...v5.9.0
This commit is contained in:
@@ -1,32 +1,35 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
autoreconfHook,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "4.24";
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "hebcal";
|
||||
version = "5.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hebcal";
|
||||
repo = "hebcal";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-iWp2S3s8z/y4dZ66Ogqu7Yf4gTUvSS1J5F7d0ifRbcY=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-JtabO3/IM7Mh6zzO6Jwth1axnwOxIn/a3GQO9x3EHLw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
vendorHash = "sha256-PhJdUU+QivGuLwHuThL7c645mbAgl160sbZ8y7Dd02M=";
|
||||
|
||||
preBuild = ''
|
||||
make dcity.go
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://hebcal.github.io";
|
||||
description = "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.gpl2Plus;
|
||||
maintainers = [ maintainers.hhm ];
|
||||
platforms = platforms.all;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.hhm ];
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "hebcal";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user