ameba: fix build with Crystal 1.8
This commit is contained in:
parent
d9c199dbc6
commit
1b4e72e95e
1 changed files with 8 additions and 1 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue