Skip to content

Commit

Permalink
shards: init at 0.7.1
Browse files Browse the repository at this point in the history
Dependency manager for the Crystal language
  • Loading branch information
sifmelcara committed Dec 24, 2016
1 parent 7908185 commit 6db2c98
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/development/tools/build-managers/shards/default.nix
@@ -0,0 +1,28 @@
{ stdenv, fetchurl, crystal, libyaml, which }:

stdenv.mkDerivation rec {
name = "shards-${version}";
version = "0.7.1";

src = fetchurl {
url = "https://github.com/crystal-lang/shards/archive/v${version}.tar.gz";
sha256 = "31de819c66518479682ec781a39ef42c157a1a8e6e865544194534e2567cb110";
};

buildInputs = [ crystal libyaml which ];

buildFlags = [ "CRFLAGS=" "release" ];

installPhase = ''
mkdir -p $out/bin
cp bin/shards $out/bin/
'';

meta = with stdenv.lib; {
homepage = "https://crystal-lang.org/";
license = licenses.asl20;
description = "Dependency manager for the Crystal language";
maintainers = with maintainers; [ mingchuan ];
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -6495,6 +6495,8 @@ in
sbt = callPackage ../development/tools/build-managers/sbt { };
simpleBuildTool = sbt;

shards = callPackage ../development/tools/build-managers/shards { };

shellcheck = self.haskellPackages.ShellCheck;

shncpd = callPackage ../tools/networking/shncpd { };
Expand Down

0 comments on commit 6db2c98

Please sign in to comment.