Files
nixpkgs/pkgs/by-name/ci/circom/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
699 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "circom";
version = "2.2.2";
src = fetchFromGitHub {
owner = "iden3";
repo = "circom";
rev = "v${version}";
hash = "sha256-BSInX4owuamRWnlKL1yJJOyzRIiE55TIzCk2TdX7aOQ=";
};
cargoHash = "sha256-dkgLp6BKuublS97iRXYzbT4ztbWBD5IDMz9rDY9XgcA=";
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 ];
};
}