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:
parent
52ed4751af
commit
aed6f881b0
24
pkgs/development/compilers/gleam/default.nix
Normal file
24
pkgs/development/compilers/gleam/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue