Merge pull request #226906 from wegank/ameba-fix

ameba: fix build with Crystal 1.8
This commit is contained in:
Weijia Wang
2023-04-18 23:18:23 +03:00
committed by GitHub
+8 -1
View File
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, crystal }:
{ lib, fetchFromGitHub, fetchpatch, crystal }:
crystal.buildCrystalPackage rec {
pname = "ameba";
@@ -11,6 +11,13 @@ crystal.buildCrystalPackage rec {
hash = "sha256-pc9mtVR/PBhM5l1PnDkm+y+McxbrfAmQzxmLi761VF4=";
};
patches = [
(fetchpatch {
url = "https://github.com/crystal-ameba/ameba/commit/c7f2cba409787a1928fbb54494b4645ec11005cc.patch";
hash = "sha256-tYEPke6omMdCGG2llJGXDZ3jTO4YAqpknzTPi2576UI=";
})
];
format = "make";
meta = with lib; {