ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
28 lines
694 B
Nix
28 lines
694 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "circom";
|
|
version = "2.1.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "iden3";
|
|
repo = "circom";
|
|
rev = "v${version}";
|
|
hash = "sha256-S+POXACM2XswpIaUze/wfVj2QYjRKJ2JGP1L88dfHA8=";
|
|
};
|
|
|
|
cargoHash = "sha256-gf9wWkeibj61Fh9Q+JqKVUVh2WpVBdM1Ei/Dg1/c+5E=";
|
|
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 ];
|
|
};
|
|
}
|