4 , gobject-introspection
6 crystal.buildCrystalPackage rec {
10 src = fetchFromGitHub {
14 hash = "sha256-hL+4MvJn1z9UKCtyvU4zzIxOwRyYQ3Qt4qRb5F0J+sg=";
17 # Make sure gi-crystal picks up the name of the so or dylib and not the leading nix store path
18 # when the package name happens to start with “lib”.
19 patches = [ ./src.patch ./store-friendly-library-name.patch ];
21 nativeBuildInputs = [ gobject-introspection ];
22 buildTargets = [ "generator" ];
25 doInstallCheck = false;
37 description = "GI Crystal is a binding generator used to generate Crystal bindings for GObject based libraries using GObject Introspection.";
38 homepage = "https://github.com/hugopl/gi-crystal";
39 mainProgram = "gi-crystal";
40 maintainers = with maintainers; [ sund3RRR ];