about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/build-managers/shards/default.nix
blob: 4ad78778a916160679483b9e4fafee6d93760f5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchFromGitHub, crystal, pcre, libyaml, which }:

crystal.buildCrystalPackage rec {
  pname = "shards";
  version = "0.10.0";

  src = fetchFromGitHub {
    owner  = "crystal-lang";
    repo   = "shards";
    rev    = "v${version}";
    sha256 = "1bjy3hcdqq8769bx73f3pwn26rnkj23dngyfbw4iv32bw23x1d49";
  };

  shardsFile = ./shards.nix;
  crystalBinaries.shards.src = "./src/shards.cr";

  meta = with stdenv.lib; {
    description = "Dependency manager for the Crystal language";
    license     = licenses.asl20;
    maintainers = with maintainers; [ peterhoeg ];
    inherit (crystal.meta) homepage platforms;
  };
}