2019-12-17 02:36:53 -08:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub, Security }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "gleam";
|
2020-04-29 03:29:50 -07:00
|
|
|
version = "0.8.0-rc1";
|
2019-12-17 02:36:53 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-12-27 08:51:43 -08:00
|
|
|
owner = "gleam-lang";
|
2019-12-17 02:36:53 -08:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-04-29 03:29:50 -07:00
|
|
|
sha256 = "1asn9k4s9m9fr4cx8f1z2npkby7vjdsypn4q6xfy3bk2pgn306bl";
|
2019-12-17 02:36:53 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
|
2020-04-29 03:29:50 -07:00
|
|
|
cargoSha256 = "1jxbq32s68zvanmwvq5wm46bkigziqgl920cf2xg5hcv4l25f03n";
|
2019-12-17 02:36:53 -08:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A statically typed language for the Erlang VM";
|
|
|
|
homepage = "https://gleam.run/";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ filalex77 ];
|
|
|
|
};
|
|
|
|
}
|