mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 14:47:06 +00:00
25 lines
662 B
Nix
25 lines
662 B
Nix
{ stdenv, rustPlatform, fetchFromGitHub, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "gleam";
|
|
version = "0.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gleam-lang";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1bcxq7bgn0kf1vdw6id8s3izz6mwf3ivr8iph4miig302qm9lmmr";
|
|
};
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
cargoSha256 = "17bvms65frxhw0d196qswh3jjqlriidq3xi3mfjjgfh6n17rh608";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A statically typed language for the Erlang VM";
|
|
homepage = "https://gleam.run/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ filalex77 ];
|
|
};
|
|
}
|