mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
29 lines
694 B
Nix
29 lines
694 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "circom";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iden3";
|
|
repo = "circom";
|
|
rev = "v${version}";
|
|
hash = "sha256-OxfqbsxSIy0tLDMfDmdCZeMb2LCSG7I+Vm9RHb7tXFc=";
|
|
};
|
|
|
|
cargoHash = "sha256-KmUTlzRRmtD9vKJmh0MSUQxN8gz4qnp9fLs5Z0Lmypw=";
|
|
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 ];
|
|
};
|
|
}
|