1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 21:17:46 +00:00
nixpkgs/pkgs/development/tools/build-managers/shards/default.nix

31 lines
769 B
Nix
Raw Normal View History

2020-04-19 08:52:58 +01:00
{ stdenv, fetchFromGitHub, crystal }:
crystal.buildCrystalPackage rec {
pname = "shards";
version = "0.10.0";
2018-08-23 12:24:01 +01:00
src = fetchFromGitHub {
2020-04-19 08:52:58 +01:00
owner = "crystal-lang";
repo = "shards";
rev = "v${version}";
sha256 = "1bjy3hcdqq8769bx73f3pwn26rnkj23dngyfbw4iv32bw23x1d49";
};
2020-04-19 08:52:58 +01:00
# we cannot use `make` here as it would introduce a dependency on itself
format = "crystal";
shardsFile = ./shards.nix;
2020-04-19 08:52:58 +01:00
crystalBinaries.shards.src = "./src/shards.cr";
2020-04-19 08:52:58 +01:00
# tries to execute git which fails spectacularly
doCheck = false;
meta = with stdenv.lib; {
description = "Dependency manager for the Crystal language";
2020-04-19 08:52:58 +01:00
license = licenses.asl20;
2018-08-23 12:24:01 +01:00
maintainers = with maintainers; [ peterhoeg ];
inherit (crystal.meta) homepage platforms;
};
}