nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 754 B view raw
1{ 2 lib, 3 python3Packages, 4 fetchurl, 5}: 6 7python3Packages.buildPythonApplication rec { 8 pname = "nvmet-cli"; 9 version = "0.7"; 10 format = "setuptools"; 11 12 src = fetchurl { 13 url = "ftp://ftp.infradead.org/pub/nvmetcli/nvmetcli-${version}.tar.gz"; 14 sha256 = "051y1b9w46azy35118154c353v3mhjkdzh6h59brdgn5054hayj2"; 15 }; 16 17 buildInputs = with python3Packages; [ nose2 ]; 18 19 propagatedBuildInputs = with python3Packages; [ configshell-fb ]; 20 21 # This package requires the `nvmet` kernel module to be loaded for tests. 22 doCheck = false; 23 24 meta = { 25 description = "NVMe target CLI"; 26 mainProgram = "nvmetcli"; 27 license = lib.licenses.asl20; 28 platforms = lib.platforms.linux; 29 maintainers = with lib.maintainers; [ hoverbear ]; 30 }; 31}