Merge pull request #220486 from iquerejeta/master

blst: init at 0.3.10
This commit is contained in:
Pol Dellaiera 2023-06-30 20:45:21 +02:00 committed by GitHub
commit cde6a6e96c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 56 additions and 0 deletions

View File

@ -7076,6 +7076,11 @@
githubId = 1817528;
name = "Igor Polyakov";
};
iquerejeta = {
github = "iquerejeta";
githubId = 31273774;
name = "Inigo Querejeta-Azurmendi";
};
irenes = {
name = "Irene Knapp";
email = "ireneista@gmail.com";
@ -17999,6 +18004,16 @@
fingerprint = "9F19 3AE8 AA25 647F FC31 46B5 416F 303B 43C2 0AC3";
}];
};
yvan-sraka = {
email = "yvan@sraka.xyz";
github = "yvan-sraka";
githubId = 705213;
keys = [{
fingerprint = "FE9A 953C 97E4 54FE 6598 BFDD A4FB 3EAA 6F45 2379";
}];
matrix = "@/yvan:matrix.org";
name = "Yvan Sraka";
};
yvesf = {
email = "yvesf+nix@xapek.org";
github = "yvesf";

View File

@ -0,0 +1,39 @@
{ stdenv, lib, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation ( finalAttrs: {
pname = "blst";
version = "0.3.10";
src = fetchFromGitHub {
owner = "supranational";
repo = "blst";
rev = "v${finalAttrs.version}";
hash = "sha256-xero1aTe2v4IhWIJaEDUsVDOfE77dOV5zKeHWntHogY=";
};
buildPhase = ''
runHook preBuild
./build.sh
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/lib
cp ./libblst.a $out/lib/
runHook postInstall
'';
doCheck = true;
meta = with lib; {
description = "Multilingual BLS12-381 signature library";
homepage = "https://github.com/supranational/blst";
license = licenses.isc;
maintainers = with maintainers; [ iquerejeta yvan-sraka ];
platforms = platforms.all;
};
})

View File

@ -348,6 +348,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
blst = callPackage ../development/libraries/blst { };
bodyclose = callPackage ../development/tools/bodyclose { };
bootstrap-studio = callPackage ../development/web/bootstrap-studio { };