thicket: specify the build type and pin to crystal 0.33

This commit is contained in:
Peter Hoeg 2020-04-20 00:08:50 +08:00
parent 819796060f
commit 0bfd4557db
1 changed files with 11 additions and 3 deletions

View File

@ -1,9 +1,12 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, crystal , crystal_0_33
}: }:
crystal.buildCrystalPackage rec { let
crystal = crystal_0_33;
in crystal.buildCrystalPackage rec {
pname = "thicket"; pname = "thicket";
version = "0.1.3"; version = "0.1.3";
@ -14,13 +17,18 @@ crystal.buildCrystalPackage rec {
sha256 = "0hkmmssiwipx373d0zw9a2yn72gqzqzcvwkqbs522m5adz6qmkzw"; sha256 = "0hkmmssiwipx373d0zw9a2yn72gqzqzcvwkqbs522m5adz6qmkzw";
}; };
format = "shards";
shardsFile = ./shards.nix; shardsFile = ./shards.nix;
crystalBinaries.thicket.src = "src/thicket.cr"; crystalBinaries.thicket.src = "src/thicket.cr";
# there is one test that tries to clone a repo
doCheck = false;
meta = with lib; { meta = with lib; {
description = "A better one-line git log"; description = "A better one-line git log";
homepage = "https://github.com/taylorthurlow/thicket"; homepage = "https://github.com/taylorthurlow/thicket";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ filalex77 ]; maintainers = with maintainers; [ filalex77 ];
}; };
} }