scry: unstable-2020-09-02 -> 0.9.1

This commit is contained in:
Peter Hoeg 2021-03-30 16:38:10 +08:00
parent f64e3fc7fb
commit 8aeab7d333
2 changed files with 14 additions and 12 deletions

View file

@ -1,23 +1,19 @@
{ lib, fetchFromGitHub, crystal_0_35, coreutils, makeWrapper }:
let
crystal = crystal_0_35;
{ lib, fetchFromGitHub, crystal, coreutils, makeWrapper }:
in
crystal.buildCrystalPackage rec {
pname = "scry";
version = "unstable-2020-09-02"; # to make it work with crystal 0.35
version = "0.9.1";
src = fetchFromGitHub {
owner = "crystal-lang-tools";
repo = pname;
# rev = "v${version}";
rev = "580a1879810a9f5d63d8a0d90fbdaa99d86b58da";
sha256 = "sha256-WjpkkHfy38wDj/ejXyyMtd5rLfTRoj/7D+SAhRROnbU=";
rev = "v${version}";
sha256 = "sha256-hqyG1aKY3M8q8lZEKzpUUKl9jS7NF+VMsma6+C0sCbg=";
};
# we are already testing for this, so we can ignore the failures
# a bunch of tests fail when built in the sandbox while perfectly fine outside
postPatch = ''
rm spec/scry/executable_spec.cr
rm spec/scry/{client,completion_provider,context,executable}_spec.cr
'';
format = "shards";

View file

@ -1,8 +1,14 @@
{
json_mapping = {
owner = "crystal-lang";
repo = "json_mapping.cr";
rev = "v0.1.0";
sha256 = "1qq5vs2085x7cwmp96rrjns0yz9kiz1lycxynfbz5psxll6b8p55";
};
lsp = {
owner = "crystal-lang-tools";
repo = "lsp";
rev = "v0.1.0";
sha256 = "1sgsdgm2dmkp92a2lbaf2pgf80gljdlqzp9xkqvwz0rr92la6810";
rev = "v0.2.0";
sha256 = "1lnviqrywh0w05mx67mzw7d1qz328p52z4k69pcqw66gs44i7b5c";
};
}