multipath-tools: 0.9.4 -> 0.9.6 (#255388)

This commit is contained in:
Yureka 2023-09-16 10:42:34 +02:00 committed by GitHub
parent 7874b2433e
commit 7f5927b335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,28 +2,32 @@
, stdenv
, fetchFromGitHub
, coreutils
, pkg-config
, perl
, lvm2
, pkg-config
, json_c
, libaio
, liburcu
, linuxHeaders
, lvm2
, readline
, systemd
, liburcu
, json_c
, linuxHeaders
, util-linuxMinimal
, cmocka
, nixosTests
}:
stdenv.mkDerivation rec {
pname = "multipath-tools";
version = "0.9.4";
version = "0.9.6";
src = fetchFromGitHub {
owner = "opensvc";
repo = "multipath-tools";
rev = "refs/tags/${version}";
sha256 = "sha256-CPvtnjzkyxKXrT8+YXaIgDA548h8X61+jCxMHKFfEyg=";
sha256 = "sha256-X4sAMGn4oBMY3cQkVj1dMcrDF7FgMl8SbZeUnCCOY6Q=";
};
postPatch = ''
@ -44,8 +48,20 @@ stdenv.mkDerivation rec {
sed '1i#include <assert.h>' -i tests/{util,vpd}.c
'';
nativeBuildInputs = [ pkg-config perl ];
buildInputs = [ systemd lvm2 libaio readline liburcu json_c linuxHeaders ];
nativeBuildInputs = [
perl
pkg-config
];
buildInputs = [
json_c
libaio
liburcu
linuxHeaders
lvm2
readline
systemd
util-linuxMinimal # for libmount
];
makeFlags = [
"LIB=lib"