Unverified Commit cde6a6e9 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #220486 from iquerejeta/master

blst: init at 0.3.10
parents cda1d30f 867cca0e
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -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";
+39 −0
Original line number Diff line number Diff line
{ 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;
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -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 { };