3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/nvme-cli/default.nix

24 lines
579 B
Nix
Raw Normal View History

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