diff options
author | Peter Hoeg <peter@hoeg.com> | 2020-04-19 15:52:58 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2020-04-22 17:30:22 +0800 |
commit | 760d56f6babd470c5ad9ca85e63cfbbda4dcee13 (patch) | |
tree | 6812724eafd41f8c41c1101af71e6520936fe3b5 /pkgs/development | |
parent | 912eb6b120eba15237ff053eafc4b5d90577685b (diff) |
shards: 0.9.0 -> 0.10.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/tools/build-managers/shards/default.nix | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/development/tools/build-managers/shards/default.nix b/pkgs/development/tools/build-managers/shards/default.nix index 4ad78778a9161..53bc057fc131d 100644 --- a/pkgs/development/tools/build-managers/shards/default.nix +++ b/pkgs/development/tools/build-managers/shards/default.nix @@ -1,22 +1,29 @@ -{ stdenv, fetchFromGitHub, crystal, pcre, libyaml, which }: +{ stdenv, fetchFromGitHub, crystal }: crystal.buildCrystalPackage rec { pname = "shards"; version = "0.10.0"; src = fetchFromGitHub { - owner = "crystal-lang"; - repo = "shards"; - rev = "v${version}"; + owner = "crystal-lang"; + repo = "shards"; + rev = "v${version}"; sha256 = "1bjy3hcdqq8769bx73f3pwn26rnkj23dngyfbw4iv32bw23x1d49"; }; + # we cannot use `make` here as it would introduce a dependency on itself + format = "crystal"; + shardsFile = ./shards.nix; + crystalBinaries.shards.src = "./src/shards.cr"; + # tries to execute git which fails spectacularly + doCheck = false; + meta = with stdenv.lib; { description = "Dependency manager for the Crystal language"; - license = licenses.asl20; + license = licenses.asl20; maintainers = with maintainers; [ peterhoeg ]; inherit (crystal.meta) homepage platforms; }; |