crystal2nix: 0.1.1 -> 0.3.0

This commit is contained in:
Peter Hoeg 2022-07-08 16:40:25 +08:00
parent 3d2b62c78c
commit de29ce21e9
2 changed files with 11 additions and 14 deletions

View file

@ -2,13 +2,13 @@
crystal.buildCrystalPackage rec { crystal.buildCrystalPackage rec {
pname = "crystal2nix"; pname = "crystal2nix";
version = "0.1.1"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "peterhoeg"; owner = "peterhoeg";
repo = "crystal2nix"; repo = "crystal2nix";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-LKZychkhWy/rVdrP3Yo6g8CL1pGdiZlBykzFjnWh0fg="; hash = "sha256-gb2vgKWVXwYWfUUcFvOLFF0qB4CTBekEllpyKduU1Mo=";
}; };
format = "shards"; format = "shards";
@ -25,8 +25,7 @@ crystal.buildCrystalPackage rec {
# temporarily off. We need the checks to execute the wrapped binary # temporarily off. We need the checks to execute the wrapped binary
doCheck = false; doCheck = false;
# it requires an internet connection when run doInstallCheck = true;
doInstallCheck = false;
meta = with lib; { meta = with lib; {
description = "Utility to convert Crystal's shard.lock files to a Nix file"; description = "Utility to convert Crystal's shard.lock files to a Nix file";

View file

@ -1,14 +1,12 @@
{ {
json_mapping = { spectator = {
owner = "crystal-lang"; url = "https://gitlab.com/arctic-fox/spectator.git";
repo = "json_mapping.cr"; rev = "v0.10.5";
rev = "v0.1.0"; sha256 = "1fgjz5vg59h4m25v4fjklimcdn62ngqbchm00kw1160ggjpgpzw2";
sha256 = "1qq5vs2085x7cwmp96rrjns0yz9kiz1lycxynfbz5psxll6b8p55";
}; };
yaml_mapping = { version_from_shard = {
owner = "crystal-lang"; url = "https://github.com/hugopl/version_from_shard.git";
repo = "yaml_mapping.cr"; rev = "v1.2.5";
rev = "v0.1.0"; sha256 = "0xizj0q4rd541rwjbx04cjifc2gfx4l5v6q2y7gmd0ndjmkgb8ik";
sha256 = "02spz1521g59ar6rp0znnr01di766kknbjxjnygs39yn0cmpzqc1";
}; };
} }