Merge pull request #220486 from iquerejeta/master

blst: init at 0.3.10

authored by

Pol Dellaiera and committed by
GitHub
cde6a6e9 cda1d30f

+56
+15
maintainers/maintainer-list.nix
··· 7076 7076 githubId = 1817528; 7077 7077 name = "Igor Polyakov"; 7078 7078 }; 7079 + iquerejeta = { 7080 + github = "iquerejeta"; 7081 + githubId = 31273774; 7082 + name = "Inigo Querejeta-Azurmendi"; 7083 + }; 7079 7084 irenes = { 7080 7085 name = "Irene Knapp"; 7081 7086 email = "ireneista@gmail.com"; ··· 17998 18003 keys = [{ 17999 18004 fingerprint = "9F19 3AE8 AA25 647F FC31 46B5 416F 303B 43C2 0AC3"; 18000 18005 }]; 18006 + }; 18007 + yvan-sraka = { 18008 + email = "yvan@sraka.xyz"; 18009 + github = "yvan-sraka"; 18010 + githubId = 705213; 18011 + keys = [{ 18012 + fingerprint = "FE9A 953C 97E4 54FE 6598 BFDD A4FB 3EAA 6F45 2379"; 18013 + }]; 18014 + matrix = "@/yvan:matrix.org"; 18015 + name = "Yvan Sraka"; 18001 18016 }; 18002 18017 yvesf = { 18003 18018 email = "yvesf+nix@xapek.org";
+39
pkgs/development/libraries/blst/default.nix
··· 1 + { stdenv, lib, fetchFromGitHub, autoreconfHook }: 2 + 3 + stdenv.mkDerivation ( finalAttrs: { 4 + pname = "blst"; 5 + version = "0.3.10"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "supranational"; 9 + repo = "blst"; 10 + rev = "v${finalAttrs.version}"; 11 + hash = "sha256-xero1aTe2v4IhWIJaEDUsVDOfE77dOV5zKeHWntHogY="; 12 + }; 13 + 14 + buildPhase = '' 15 + runHook preBuild 16 + 17 + ./build.sh 18 + 19 + runHook postBuild 20 + ''; 21 + installPhase = '' 22 + runHook preInstall 23 + 24 + mkdir -p $out/lib 25 + cp ./libblst.a $out/lib/ 26 + 27 + runHook postInstall 28 + ''; 29 + 30 + doCheck = true; 31 + 32 + meta = with lib; { 33 + description = "Multilingual BLS12-381 signature library"; 34 + homepage = "https://github.com/supranational/blst"; 35 + license = licenses.isc; 36 + maintainers = with maintainers; [ iquerejeta yvan-sraka ]; 37 + platforms = platforms.all; 38 + }; 39 + })
+2
pkgs/top-level/all-packages.nix
··· 348 348 inherit (darwin.apple_sdk.frameworks) CoreServices; 349 349 }; 350 350 351 + blst = callPackage ../development/libraries/blst { }; 352 + 351 353 bodyclose = callPackage ../development/tools/bodyclose { }; 352 354 353 355 bootstrap-studio = callPackage ../development/web/bootstrap-studio { };