fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchurl, crystal, libyaml, which }:
2
3stdenv.mkDerivation rec {
4 name = "shards-${version}";
5 version = "0.7.2";
6
7 src = fetchurl {
8 url = "https://github.com/crystal-lang/shards/archive/v${version}.tar.gz";
9 sha256 = "1qiv9zzpccf6i5r2qrzbl84wgvqapbs0csazayhcpzfjfhg6i8wp";
10 };
11
12 buildInputs = [ crystal libyaml which ];
13
14 buildFlags = [ "CRFLAGS=" "release" ];
15
16 installPhase = ''
17 mkdir -p $out/bin
18 cp bin/shards $out/bin/
19 '';
20
21 meta = with stdenv.lib; {
22 homepage = https://crystal-lang.org/;
23 license = licenses.asl20;
24 description = "Dependency manager for the Crystal language";
25 maintainers = with maintainers; [ sifmelcara ];
26 platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
27 };
28}