@@ -1,25 +1,15 @@
|
||||
{ lib, stdenv, fetchgit, fetchpatch }:
|
||||
{ lib, stdenv, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "liburing";
|
||||
version = "2.4";
|
||||
version = "2.5";
|
||||
|
||||
src = fetchgit {
|
||||
url = "http://git.kernel.dk/${pname}";
|
||||
rev = "liburing-${version}";
|
||||
sha256 = "sha256-vbe9uh9AqXyPkzwD6zHoHH3JMeAJEl2FSGzny1T7diM=";
|
||||
sha256 = "sha256-hPyEZ0P1rfos53OCNd2OYFiqmv6TgpWaj5/xPLccCvM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull upstream fix for parallel build failures:
|
||||
# https://github.com/axboe/liburing/pull/891
|
||||
(fetchpatch {
|
||||
name = "parallel.patch";
|
||||
url = "https://github.com/axboe/liburing/commit/c34dca74854cb6e7f2b09affa2a4ab0145e62371.patch";
|
||||
hash = "sha256-RZSgHdQy5d7mXtMvkMyr+/kMhp1w+S5v9cqk5NSii5o=";
|
||||
})
|
||||
];
|
||||
|
||||
separateDebugInfo = true;
|
||||
enableParallelBuilding = true;
|
||||
# Upstream's configure script is not autoconf generated, but a hand written one.
|
||||
|
||||
Reference in New Issue
Block a user