gleam: 0.25.3 -> 0.26.2

This commit is contained in:
Adam Stephens 2023-02-28 09:31:09 -05:00 committed by Yt
parent 2aea26edc2
commit 2b554db6c0

View File

@ -1,22 +1,22 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, Security, libiconv }: { lib, stdenv, rustPlatform, fetchFromGitHub, git, pkg-config, openssl, Security, libiconv }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "gleam"; pname = "gleam";
version = "0.25.3"; version = "0.26.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gleam-lang"; owner = "gleam-lang";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-JT9NUca+DaqxT36heaNKijIuqdnSvrYCfY2uM7wTOGo="; hash = "sha256-NLUAKNWbKPAf81ce1OWTy/pnDcF2LfF12825DfE8AWw=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ git pkg-config ];
buildInputs = [ openssl ] ++ buildInputs = [ openssl ] ++
lib.optionals stdenv.isDarwin [ Security libiconv ]; lib.optionals stdenv.isDarwin [ Security libiconv ];
cargoSha256 = "sha256-YPyGCd4//yta3jy5tWB4C5yRgxNbfG+hGF5/QSch/6M="; cargoSha256 = "sha256-IOZEdoQ5cqXjhgqNzOg4h5t8i3JDxfjamLFdesEy9Z8=";
meta = with lib; { meta = with lib; {
description = "A statically typed language for the Erlang VM"; description = "A statically typed language for the Erlang VM";