gi-crystal: add update script

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew 2024-05-16 16:23:09 -03:00
parent 5403ba0c3c
commit b4c133a874

View File

@ -2,6 +2,7 @@
, fetchFromGitHub
, crystal
, gobject-introspection
, gitUpdater
}:
crystal.buildCrystalPackage rec {
pname = "gi-crystal";
@ -33,6 +34,11 @@ crystal.buildCrystalPackage rec {
runHook postInstall
'';
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
};
meta = with lib; {
description = "GI Crystal is a binding generator used to generate Crystal bindings for GObject based libraries using GObject Introspection.";
homepage = "https://github.com/hugopl/gi-crystal";