Merge pull request #114928 from Hoverbear/nvmet-cli-init

nvmet-cli: init at 0.7
This commit is contained in:
Sandro 2021-03-03 05:11:00 +01:00 committed by GitHub
commit 6b8fa0aaf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib, python3Packages, fetchurl }:
python3Packages.buildPythonApplication rec {
pname = "nvmet-cli";
version = "0.7";
src = fetchurl {
url = "ftp://ftp.infradead.org/pub/nvmetcli/nvmetcli-${version}.tar.gz";
sha256 = "051y1b9w46azy35118154c353v3mhjkdzh6h59brdgn5054hayj2";
};
buildInputs = with python3Packages; [ nose2 ];
propagatedBuildInputs = with python3Packages; [ configshell ];
# This package requires the `nvmet` kernel module to be loaded for tests.
doCheck = false;
meta = with lib; {
description = "NVMe target CLI";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ hoverbear ];
};
}

View File

@ -19821,6 +19821,8 @@ in
nvme-cli = callPackage ../os-specific/linux/nvme-cli { };
nvmet-cli = callPackage ../os-specific/linux/nvmet-cli { };
system76-firmware = callPackage ../os-specific/linux/firmware/system76-firmware { };
open-vm-tools = callPackage ../applications/virtualization/open-vm-tools { };