shards: 0.9.0 -> 0.10.0

This commit is contained in:
Peter Hoeg 2020-04-19 15:52:58 +08:00
parent 912eb6b120
commit 760d56f6ba

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, crystal, pcre, libyaml, which }: { stdenv, fetchFromGitHub, crystal }:
crystal.buildCrystalPackage rec { crystal.buildCrystalPackage rec {
pname = "shards"; pname = "shards";
@ -11,9 +11,16 @@ crystal.buildCrystalPackage rec {
sha256 = "1bjy3hcdqq8769bx73f3pwn26rnkj23dngyfbw4iv32bw23x1d49"; sha256 = "1bjy3hcdqq8769bx73f3pwn26rnkj23dngyfbw4iv32bw23x1d49";
}; };
# we cannot use `make` here as it would introduce a dependency on itself
format = "crystal";
shardsFile = ./shards.nix; shardsFile = ./shards.nix;
crystalBinaries.shards.src = "./src/shards.cr"; crystalBinaries.shards.src = "./src/shards.cr";
# tries to execute git which fails spectacularly
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Dependency manager for the Crystal language"; description = "Dependency manager for the Crystal language";
license = licenses.asl20; license = licenses.asl20;