e0/default.nix
2022-07-19 02:02:58 -05:00

21 lines
519 B
Nix

{ toolchain, makeRustPlatform, lib, nix-gitignore, libffi, libgcc }:
with lib;
let rustPlatform = makeRustPlatform { inherit (toolchain) cargo rustc; };
in rustPlatform.buildRustPackage {
name = "e0";
src = nix-gitignore.gitignoreSource [ ./.gitignore ] ./.;
nativeBuildInputs = [ ];
buildInputs = [ libffi ];
cargoLock = { lockFile = ./Cargo.lock; };
meta = {
description = "Experimental programming language #0";
license = licenses.mit;
homepage = "https://git.sr.ht/~mzhang/e0";
};
}