mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 03:12:51 +00:00
gi-crystal: add update script
Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
parent
5403ba0c3c
commit
b4c133a874
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user