seasocks: fix build w/glibc-2.30

This commit is contained in:
Maximilian Bosch 2020-01-19 22:33:36 +01:00
parent 9646fafc5d
commit 2df926d9a6
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, python, zlib }:
{ stdenv, fetchFromGitHub, cmake, python, zlib, fetchpatch }:
stdenv.mkDerivation rec {
pname = "seasocks";
@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "1vzdhp61bq2bddz7kkpygdq5adxdspjw1q6a03j6qyyimapblrg8";
};
patches = [
(fetchpatch {
url = "https://github.com/mattgodbolt/seasocks/commit/5753b50ce3b2232d166843450043f88a4a362422.patch";
sha256 = "1c20xjma8jdgcr5m321srpmys6b4jvqkazfqr668km3r2ck5xncl";
})
];
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib python ];