nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 29 lines 697 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "circom"; 9 version = "2.2.2"; 10 11 src = fetchFromGitHub { 12 owner = "iden3"; 13 repo = "circom"; 14 rev = "v${version}"; 15 hash = "sha256-BSInX4owuamRWnlKL1yJJOyzRIiE55TIzCk2TdX7aOQ="; 16 }; 17 18 cargoHash = "sha256-dkgLp6BKuublS97iRXYzbT4ztbWBD5IDMz9rDY9XgcA="; 19 doCheck = false; 20 21 meta = { 22 description = "zkSnark circuit compiler"; 23 mainProgram = "circom"; 24 homepage = "https://github.com/iden3/circom"; 25 changelog = "https://github.com/iden3/circom/blob/${src.rev}/RELEASES.md"; 26 license = lib.licenses.gpl3Only; 27 maintainers = with lib.maintainers; [ raitobezarius ]; 28 }; 29}