crystal: 0.36 -> 0.36.1

This commit is contained in:
Peter Hoeg 2021-02-11 11:38:21 +08:00
parent 8199872bba
commit 53ea6aee81

View File

@ -3,7 +3,7 @@
, fetchFromGitHub , fetchFromGitHub
, fetchurl , fetchurl
, lib , lib
# Dependencies # Dependencies
, boehmgc , boehmgc
, coreutils , coreutils
, git , git
@ -32,7 +32,6 @@
# #
# We need to keep around at least the latest version released with a stable # We need to keep around at least the latest version released with a stable
# NixOS # NixOS
let let
archs = { archs = {
x86_64-linux = "linux-x86_64"; x86_64-linux = "linux-x86_64";
@ -61,7 +60,14 @@ let
}; };
commonBuildInputs = extraBuildInputs: [ commonBuildInputs = extraBuildInputs: [
boehmgc libatomic_ops pcre libevent libyaml zlib libxml2 openssl boehmgc
libatomic_ops
pcre
libevent
libyaml
zlib
libxml2
openssl
] ++ extraBuildInputs ] ++ extraBuildInputs
++ lib.optionals stdenv.isDarwin [ libiconv ]; ++ lib.optionals stdenv.isDarwin [ libiconv ];
@ -70,8 +76,8 @@ let
, sha256 , sha256
, binary , binary
, doCheck ? true , doCheck ? true
, extraBuildInputs ? [] , extraBuildInputs ? [ ]
, buildFlags ? ["all" "docs"] , buildFlags ? [ "all" "docs" ]
}: }:
lib.fix (compiler: stdenv.mkDerivation { lib.fix (compiler: stdenv.mkDerivation {
pname = "crystal"; pname = "crystal";
@ -212,7 +218,8 @@ let
}) })
); );
in rec { in
rec {
binaryCrystal_0_31 = genericBinary { binaryCrystal_0_31 = genericBinary {
version = "0.31.1"; version = "0.31.1";
sha256s = { sha256s = {
@ -256,12 +263,12 @@ in rec {
}; };
crystal_0_36 = generic { crystal_0_36 = generic {
version = "0.36.0"; version = "0.36.1";
sha256 = "0s7g13mrh2jrxxrrrg4hy3gi49rp7fmpn9zg9kj4nbc8w8yir20r"; sha256 = "sha256-5rjrvwZKM4lHpmxLyUVbi0Zw98xT+iJKonxwfUwS/Wk=";
binary = crystal_0_35; binary = crystal_0_35;
}; };
crystal = crystal_0_36; crystal = crystal_0_36;
crystal2nix = callPackage ./crystal2nix.nix {}; crystal2nix = callPackage ./crystal2nix.nix { };
} }