nixpkgs/pkgs/development/compilers/gleam/default.nix

25 lines
666 B
Nix
Raw Normal View History

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