1{ lib, python3Packages, fetchurl }:
2
3python3Packages.buildPythonApplication rec {
4 pname = "nvmet-cli";
5 version = "0.7";
6
7 src = fetchurl {
8 url = "ftp://ftp.infradead.org/pub/nvmetcli/nvmetcli-${version}.tar.gz";
9 sha256 = "051y1b9w46azy35118154c353v3mhjkdzh6h59brdgn5054hayj2";
10 };
11
12 buildInputs = with python3Packages; [ nose2 ];
13
14 propagatedBuildInputs = with python3Packages; [ configshell ];
15
16 # This package requires the `nvmet` kernel module to be loaded for tests.
17 doCheck = false;
18
19 meta = with lib; {
20 description = "NVMe target CLI";
21 license = licenses.asl20;
22 platforms = platforms.linux;
23 maintainers = with maintainers; [ hoverbear ];
24 };
25}