Merge pull request #264376 from RaitoBezarius/circom-init

This commit is contained in:
Ryan Lahfa 2023-11-01 12:30:44 +01:00 committed by GitHub
commit 4be2d0ba3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,27 @@
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "circom";
version = "2.1.6";
src = fetchFromGitHub {
owner = "iden3";
repo = "circom";
rev = "v${version}";
hash = "sha256-2YusBWAYDrTvFHYIjKpALphhmtsec7jjKHb1sc9lt3Q=";
};
cargoHash = "sha256-G6z+DxIhmm1Kzv8EQCqvfGAhQn5Vrx9LXrl+bWBVKaM=";
doCheck = false;
meta = with lib; {
description = "zkSnark circuit compiler";
homepage = "https://github.com/iden3/circom";
changelog = "https://github.com/iden3/circom/blob/${src.rev}/RELEASES.md";
license = licenses.gpl3Only;
maintainers = with maintainers; [ raitobezarius ];
};
}