e0/default.nix

22 lines
519 B
Nix
Raw Permalink Normal View History

2022-07-18 08:21:39 +00:00
{ toolchain, makeRustPlatform, lib, nix-gitignore, libffi, libgcc }:
2022-04-06 03:07:34 +00:00
2022-07-19 07:02:58 +00:00
with lib;
2022-07-18 08:21:39 +00:00
let rustPlatform = makeRustPlatform { inherit (toolchain) cargo rustc; };
in rustPlatform.buildRustPackage {
2022-04-06 03:07:34 +00:00
name = "e0";
src = nix-gitignore.gitignoreSource [ ./.gitignore ] ./.;
2022-07-18 02:00:19 +00:00
nativeBuildInputs = [ ];
buildInputs = [ libffi ];
2022-04-06 03:07:34 +00:00
2022-07-18 02:00:19 +00:00
cargoLock = { lockFile = ./Cargo.lock; };
2022-07-19 07:02:58 +00:00
meta = {
description = "Experimental programming language #0";
license = licenses.mit;
homepage = "https://git.sr.ht/~mzhang/e0";
};
2022-04-06 03:07:34 +00:00
}