liburing: 2.1 -> 2.2
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
6b4ec3595c
commit
fe5d77ff39
|
@ -4,12 +4,12 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "liburing";
|
pname = "liburing";
|
||||||
version = "2.1"; # remove patch when updating
|
version = "2.2";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "http://git.kernel.dk/${pname}";
|
url = "http://git.kernel.dk/${pname}";
|
||||||
rev = "liburing-${version}";
|
rev = "liburing-${version}";
|
||||||
sha256 = "sha256-7wSpKqjIdQeOdsQu4xN3kFHV49n6qQ3xVbjUcY1tmas=";
|
sha256 = "sha256-M/jfxZ+5DmFvlAt8sbXrjBTPf2gLd9UyTNymtjD+55g";
|
||||||
};
|
};
|
||||||
|
|
||||||
separateDebugInfo = true;
|
separateDebugInfo = true;
|
||||||
|
@ -43,15 +43,6 @@ stdenv.mkDerivation rec {
|
||||||
cp ./examples/ucontext-cp $bin/bin/io_uring-ucontext-cp
|
cp ./examples/ucontext-cp $bin/bin/io_uring-ucontext-cp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# fix for compilation on 32-bit ARM, merged by upstream but not released; remove when
|
|
||||||
# upstream releases an update
|
|
||||||
patches = lib.optional stdenv.isAarch32 [
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/axboe/liburing/commit/e75a6cfa085fc9b5dbf5140fc1efb5a07b6b829e.diff";
|
|
||||||
sha256 = "sha256-qQEQXYm5mkws2klLxwuuoPSPRkpP1s6tuylAAEp7+9E=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Userspace library for the Linux io_uring API";
|
description = "Userspace library for the Linux io_uring API";
|
||||||
homepage = "https://git.kernel.dk/cgit/liburing/";
|
homepage = "https://git.kernel.dk/cgit/liburing/";
|
||||||
|
|
Loading…
Reference in a new issue