mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-29 08:30:21 +02:00
Merge pull request #191628 from LeSuisse/wolfssl-5.5.0
wolfssl: 5.4.0 -> 5.5.0
This commit is contained in:
commit
7aaeb4f7be
|
@ -7,19 +7,22 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wolfssl";
|
pname = "wolfssl";
|
||||||
version = "5.4.0";
|
version = "5.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wolfSSL";
|
owner = "wolfSSL";
|
||||||
repo = "wolfssl";
|
repo = "wolfssl";
|
||||||
rev = "v${version}-stable";
|
rev = "v${version}-stable";
|
||||||
sha256 = "sha256-5a83Mi+S+mASdZ6O2+0I+qulsF6yNUe80a3qZvWmXHw=";
|
sha256 = "sha256-PqxwWPK5eBcS5d6e0CL4uZHybDye1K8pxniKU99YSAE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs ./scripts
|
patchShebangs ./scripts
|
||||||
# ocsp tests require network access
|
# ocsp tests require network access
|
||||||
sed -i -e '/ocsp\.test/d' -e '/ocsp-stapling\.test/d' scripts/include.am
|
sed -i -e '/ocsp\.test/d' -e '/ocsp-stapling\.test/d' scripts/include.am
|
||||||
|
# ensure test detects musl-based systems too
|
||||||
|
substituteInPlace scripts/ocsp-stapling2.test \
|
||||||
|
--replace '"linux-gnu"' '"linux-"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Almost same as Debian but for now using --enable-all --enable-reproducible-build instead of --enable-distro to ensure options.h gets installed
|
# Almost same as Debian but for now using --enable-all --enable-reproducible-build instead of --enable-distro to ensure options.h gets installed
|
||||||
|
|
Loading…
Reference in a new issue