mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-27 08:52:10 +03:00
26 lines
521 B
Nix
26 lines
521 B
Nix
{ pkgs }:
|
|
|
|
pkgs.stdenv.mkDerivation rec {
|
|
name = "secp256k1-b4e87";
|
|
builder = ./builder.sh;
|
|
|
|
CFLAGS = "-fPIC";
|
|
|
|
configureFlags = [
|
|
"--disable-shared"
|
|
"--enable-module-recovery"
|
|
];
|
|
|
|
buildInputs = [ pkgs.gmp ];
|
|
nativeBuildInputs =
|
|
with pkgs;
|
|
[ autoconf automake libtool m4 ];
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "bitcoin-core";
|
|
repo = "secp256k1";
|
|
rev = "e34ceb333b1c0e6f4115ecbb80c632ac1042fa49";
|
|
sha256 = "0as78s179hcr3ysk3fw98k5wzabgnwri7vkkc17wg31lyz6ids6c";
|
|
};
|
|
}
|