2016-09-20 21:19:36 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "nvme-cli-${version}";
|
2018-02-03 23:04:30 +01:00
|
|
|
version = "1.5";
|
2016-09-20 21:19:36 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linux-nvme";
|
|
|
|
repo = "nvme-cli";
|
|
|
|
rev = "v${version}";
|
2018-02-03 23:04:30 +01:00
|
|
|
sha256 = "1nl5hl5am8djwmrw1xxnd9ahp7kyzyj0yh1nxgmx43pn3d61n0vz";
|
2016-09-20 21:19:36 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "NVM-Express user space tooling for Linux";
|
2017-10-21 21:35:07 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2016-09-20 21:19:36 +02:00
|
|
|
platforms = platforms.linux;
|
2017-10-21 21:35:07 +02:00
|
|
|
maintainers = with maintainers; [ primeos tavyc ];
|
2016-09-20 21:19:36 +02:00
|
|
|
};
|
|
|
|
}
|