···7}:
8crystal.buildCrystalPackage rec {
9 pname = "gi-crystal";
10- version = "0.24.0";
1112 src = fetchFromGitHub {
13 owner = "hugopl";
14 repo = "gi-crystal";
15 rev = "v${version}";
16- hash = "sha256-0LsYREn4zWLQYUTpNWJhLLHWmg7UQzxOoQiAMmw3ZXQ=";
17 };
1819- # Make sure gi-crystal picks up the name of the so or dylib and not the leading nix store path
20- # when the package name happens to start with “lib”.
21 patches = [
22 ./src.patch
23- ./store-friendly-library-name.patch
24 ];
2526 nativeBuildInputs = [ gobject-introspection ];