summary refs log blame commit diff
path: root/pkgs/os-specific/linux/nvme-cli/default.nix
blob: 4bf1e41bd57bd4809dbbfd42aab7b2b0939f1e51 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                 
                    




                         
                                                                    






                                                             
                                
                                
                                                      

    
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  name = "nvme-cli-${version}";
  version = "1.8.1";

  src = fetchFromGitHub {
    owner = "linux-nvme";
    repo = "nvme-cli";
    rev = "v${version}";
    sha256 = "0agnxfcwgnnimmxrdpg4lmiqc5ai9b4amk8krriw01lflxi3xzn0";
  };

  makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];

  meta = with lib; {
    inherit (src.meta) homepage;
    description = "NVM-Express user space tooling for Linux";
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ primeos tavyc ];
  };
}