Merge pull request #309932 from mmlb/update-nvme-cli

libnvme: 1.7.1 -> 1.9; nvme-cli: 2.7.1 -> 2.9.1
This commit is contained in:
Sandro
2024-06-10 13:50:50 +02:00
committed by GitHub
2 changed files with 7 additions and 4 deletions
+5 -2
View File
@@ -1,4 +1,5 @@
{ fetchFromGitHub
, bash
, json_c
, keyutils
, lib
@@ -17,7 +18,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libnvme";
version = "1.7.1";
version = "1.9";
outputs = [ "out" ] ++ lib.optionals withDocs [ "man" ];
@@ -25,11 +26,13 @@ stdenv.mkDerivation (finalAttrs: {
owner = "linux-nvme";
repo = "libnvme";
rev = "v${finalAttrs.version}";
hash = "sha256-hCR/K8bPXj8HthayrnwwGfI+wxpUwcWkcx3S/8h+3m8=";
hash = "sha256-nXzYbj4BDxFii30yR+aTgqjQfyYMFiAIcV/OHI2y5Ws=";
};
postPatch = ''
patchShebangs scripts
substituteInPlace test/sysfs/sysfs-tree-diff.sh \
--replace-fail /bin/bash ${bash}/bin/bash
'';
nativeBuildInputs = [
+2 -2
View File
@@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "nvme-cli";
version = "2.7.1";
version = "2.9.1";
src = fetchFromGitHub {
owner = "linux-nvme";
repo = "nvme-cli";
rev = "v${version}";
hash = "sha256-Gm+1tb/Nh+Yg2PgSUn/1hR4CZYnfTWRwcQU0A8UeQwI=";
hash = "sha256-zs7UksB5QkvCP29iELDGMJeObvMdKrs6ajQkEzCPzzQ=";
};
mesonFlags = [