mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
24 lines
579 B
Nix
24 lines
579 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "nvme-cli-${version}";
|
|
version = "1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linux-nvme";
|
|
repo = "nvme-cli";
|
|
rev = "v${version}";
|
|
sha256 = "1wwr31s337km3v528hvsq72j2ph17fir0j3rr622z74k68pzdh1x";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|