File tree Expand file tree Collapse file tree 4 files changed +33
-51
lines changed
development/tools/build-managers/shards Expand file tree Collapse file tree 4 files changed +33
-51
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ fetchFromGitHub ,
4+ crystal ,
5+ } :
6+
7+ crystal . buildCrystalPackage rec {
8+ pname = "shards" ;
9+ version = "0.19.1" ;
10+
11+ src = fetchFromGitHub {
12+ owner = "crystal-lang" ;
13+ repo = "shards" ;
14+ tag = "v${ version } " ;
15+ hash = "sha256-LOdI389nVsFXkKPKco1C+O710kBlWImzCvdBBYEsWQQ=" ;
16+ } ;
17+
18+ # we cannot use `make` or `shards` here as it would introduce a cyclical dependency
19+ format = "crystal" ;
20+ shardsFile = ./shards.nix ;
21+ crystalBinaries . shards . src = "./src/shards.cr" ;
22+
23+ # tries to execute git which fails spectacularly
24+ doCheck = false ;
25+
26+ meta = with lib ; {
27+ description = "Dependency manager for the Crystal language" ;
28+ mainProgram = "shards" ;
29+ license = licenses . asl20 ;
30+ maintainers = with maintainers ; [ peterhoeg ] ;
31+ inherit ( crystal . meta ) homepage platforms ;
32+ } ;
33+ }
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8256,10 +8256,6 @@ with pkgs;
82568256 (if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then lib.id else haskell.lib.compose.justStaticExecutables)
82578257 haskellPackages.shake;
82588258
8259- inherit (callPackage ../development/tools/build-managers/shards { })
8260- shards_0_17
8261- shards;
8262-
82638259 shellcheck = callPackage ../development/tools/shellcheck {
82648260 inherit (__splicedPackages.haskellPackages) ShellCheck;
82658261 };
You can’t perform that action at this time.
0 commit comments