nixpkgs-suyu/pkgs/os-specific/linux/nvme-cli/default.nix
2017-10-21 21:37:26 +02:00

23 lines
579 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "nvme-cli-${version}";
version = "1.4";
src = fetchFromGitHub {
owner = "linux-nvme";
repo = "nvme-cli";
rev = "v${version}";
sha256 = "00jrr1mya9wkapiapph3nch3kpqas6vlc8kl8dbrjjfb5hg35gqf";
};
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 ];
};
}