Commit 4002cdeb authored by Adrian Pistol's avatar Adrian Pistol Committed by Jörg Thalheim
Browse files

nvme-cli: 2.4 -> 2.6

parent 4765f6dd
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -4,18 +4,19 @@
, libnvme
, json_c
, zlib
, libhugetlbfs
, python3Packages
}:

stdenv.mkDerivation rec {
  pname = "nvme-cli";
  version = "2.4";
  version = "2.6";

  src = fetchFromGitHub {
    owner = "linux-nvme";
    repo = "nvme-cli";
    rev = "v${version}";
    hash = "sha256-vnhvVVfEDnmEIdIkfTRoiLB7dZ1rJV3U4PmUUoaxTUs=";
    hash = "sha256-MFyBkwTNOBQdHWj7In1OquRIAsjsd4/DHYfUyFA9YDQ=";
  };

  mesonFlags = [
@@ -32,6 +33,8 @@ stdenv.mkDerivation rec {
    libnvme
    json_c
    zlib
  ] ++ lib.optionals (!(stdenv.hostPlatform.isStatic || stdenv.hostPlatform.isMusl)) [
    libhugetlbfs
  ];

  meta = with lib; {
@@ -47,7 +50,7 @@ stdenv.mkDerivation rec {
    '';
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ mic92 ];
    maintainers = with maintainers; [ mic92 vifino ];
    mainProgram = "nvme";
  };
}