3
0
Fork 0
forked from mirrors/nixpkgs

spdk: 21.07 -> 21.10

This commit is contained in:
Pierre Bourdon 2021-12-09 03:42:05 +01:00
parent cc32f4990b
commit 69e5198b6f
No known key found for this signature in database
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -1,5 +1,5 @@
{ lib, stdenv
, fetchurl
, fetchpatch
, fetchFromGitHub
, ncurses
, python3
@ -14,19 +14,25 @@
stdenv.mkDerivation rec {
pname = "spdk";
version = "21.07";
version = "21.10";
src = fetchFromGitHub {
owner = "spdk";
repo = "spdk";
rev = "v${version}";
sha256 = "sha256-/hynuYVdzIfiHUUfuuOY8SBJ18DqJr2Fos2JjQQVvbg=";
sha256 = "sha256-pFynTbbSF1g58VD9bOhe3c4oCozeqE+35kECTQwDBDM=";
};
patches = [
# Backport of upstream patch for ncurses-6.3 support.
# Will be in next release after 21.10.
./ncurses-6.3.patch
# DPDK 21.11 compatibility.
(fetchpatch {
url = "https://github.com/spdk/spdk/commit/f72cab94dd35d7b45ec5a4f35967adf3184ca616.patch";
sha256 = "sha256-sSetvyNjlM/hSOUsUO3/dmPzAliVcteNDvy34yM5d4A=";
})
];
nativeBuildInputs = [