mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 22:14:34 +00:00
secp256k1: 0.5.1 -> 0.6.0 (#354528)
This commit is contained in:
commit
d277b7abe3
pkgs
@ -7,13 +7,13 @@
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "secp256k1";
|
||||
|
||||
version = "0.5.1";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bitcoin-core";
|
||||
repo = "secp256k1";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-IYvvBob8e82EiPLX9yA8fd+KWrMri1rI5csp81rAdrg=";
|
||||
sha256 = "sha256-pCSNUSrPyN/lLYZm7zK/b9LICkThXOr6JAyFvHZSPW0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
@ -35,12 +35,6 @@ buildPythonPackage rec {
|
||||
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 = [
|
||||
hatchling
|
||||
cffi
|
||||
|
Loading…
Reference in New Issue
Block a user