diff options
author | Yureka <yuka@yuka.dev> | 2023-09-16 10:42:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-16 10:42:34 +0200 |
commit | 7f5927b33561491337a5788607143724a870b9ce (patch) | |
tree | a3db33269c6fa15b479ca5d3d6b434aa2578a9cf | |
parent | 7874b2433ebb10c1493632cd3e61b36eb80c8ab6 (diff) | |
download | nixpkgs-7f5927b33561491337a5788607143724a870b9ce.tar nixpkgs-7f5927b33561491337a5788607143724a870b9ce.tar.gz nixpkgs-7f5927b33561491337a5788607143724a870b9ce.tar.bz2 nixpkgs-7f5927b33561491337a5788607143724a870b9ce.tar.lz nixpkgs-7f5927b33561491337a5788607143724a870b9ce.tar.xz nixpkgs-7f5927b33561491337a5788607143724a870b9ce.tar.zst nixpkgs-7f5927b33561491337a5788607143724a870b9ce.zip |
multipath-tools: 0.9.4 -> 0.9.6 (#255388)
-rw-r--r-- | pkgs/os-specific/linux/multipath-tools/default.nix | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/pkgs/os-specific/linux/multipath-tools/default.nix b/pkgs/os-specific/linux/multipath-tools/default.nix index bb753e70aa9..5ec8197451c 100644 --- a/pkgs/os-specific/linux/multipath-tools/default.nix +++ b/pkgs/os-specific/linux/multipath-tools/default.nix @@ -2,28 +2,32 @@ , stdenv , fetchFromGitHub , coreutils -, pkg-config + , perl -, lvm2 +, pkg-config + +, json_c , libaio -, readline -, systemd , liburcu -, json_c , linuxHeaders +, lvm2 +, readline +, systemd +, 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" |