3
0
Fork 0
forked from mirrors/nixpkgs

gleam: init at 0.5.0

Close #71432.

Co-authored-by: Norbert Melzer <NobbZ@users.noreply.github.com>
This commit is contained in:
Oleksii Filonenko 2019-12-17 12:36:53 +02:00 committed by Jon
parent 52ed4751af
commit aed6f881b0
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, rustPlatform, fetchFromGitHub, Security }:
rustPlatform.buildRustPackage rec {
pname = "gleam";
version = "0.5.0";
src = fetchFromGitHub {
owner = "lpil";
repo = pname;
rev = "v${version}";
sha256 = "17h573fm5b1f71ivyipl76p0vw7injm7j3cbg6plkfizcb1j5m7f";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
cargoSha256 = "04v1gj5nmmcizyrsg6b87qsfzw2zqi57vf1zlnq8680yc54qdah9";
meta = with stdenv.lib; {
description = "A statically typed language for the Erlang VM";
homepage = "https://gleam.run/";
license = licenses.asl20;
maintainers = with maintainers; [ filalex77 ];
};
}

View file

@ -8113,6 +8113,10 @@ in
gforth = callPackage ../development/compilers/gforth {};
gleam = callPackage ../development/compilers/gleam {
inherit (darwin.apple_sdk.frameworks) Security;
};
gtk-server = callPackage ../development/interpreters/gtk-server {};
# Haskell and GHC