mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
secp256k1: 0.5.1 -> 0.6.0 (#354528)
This commit is contained in:
commit
d277b7abe3
@ -7,13 +7,13 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "secp256k1";
|
pname = "secp256k1";
|
||||||
|
|
||||||
version = "0.5.1";
|
version = "0.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bitcoin-core";
|
owner = "bitcoin-core";
|
||||||
repo = "secp256k1";
|
repo = "secp256k1";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-IYvvBob8e82EiPLX9yA8fd+KWrMri1rI5csp81rAdrg=";
|
sha256 = "sha256-pCSNUSrPyN/lLYZm7zK/b9LICkThXOr6JAyFvHZSPW0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
@ -35,12 +35,6 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-NKx/iLuzFEu1UBuwa14x55Ab3laVAKEtX6dtoWi0dOg=";
|
hash = "sha256-NKx/iLuzFEu1UBuwa14x55Ab3laVAKEtX6dtoWi0dOg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
# don't try to load .dll files
|
|
||||||
cp -r --no-preserve=mode ${secp256k1.src} libsecp256k1
|
|
||||||
patchShebangs secp256k1/autogen.sh
|
|
||||||
'';
|
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
hatchling
|
hatchling
|
||||||
cffi
|
cffi
|
||||||
|
Loading…
Reference in New Issue
Block a user