circom-compat-ffi/default.nix
markoburcul 297c46fdc7
nix: added flake and derivation for the project
Signed-off-by: markoburcul <marko@status.im>
2024-11-26 14:20:40 +01:00

21 lines
370 B
Nix

{ pkgs }:
pkgs.rustPlatform.buildRustPackage {
pname = "circom-compat-ffi";
version = "0.1.0";
src = ./.;
cargoLock = {
lockFile = ./Cargo.lock;
allowBuiltinFetchGit = true;
};
CARGO_HOME = "/tmp";
cargoBuildFlags = ["--release"];
meta = with pkgs.lib; {
description = "circom-compat (ark-circom) ffi";
license = licenses.mit;
};
}