Files
nixpkgs/pkgs/by-name/nv/nvmet-cli/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

32 lines
752 B
Nix

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