5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
28 lines
694 B
Nix
28 lines
694 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "circom";
|
|
version = "2.1.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iden3";
|
|
repo = "circom";
|
|
rev = "v${version}";
|
|
hash = "sha256-l8204koaKTluYEvk6j9+MokdOqFCq2oExT5P2aW3kzc=";
|
|
};
|
|
|
|
cargoHash = "sha256-M4FR/dPLIq1Ps0j1B69khmSl4uRE5wxN4dh3iuO/9A4=";
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "zkSnark circuit compiler";
|
|
mainProgram = "circom";
|
|
homepage = "https://github.com/iden3/circom";
|
|
changelog = "https://github.com/iden3/circom/blob/${src.rev}/RELEASES.md";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ raitobezarius ];
|
|
};
|
|
}
|