Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 26 lines 717 B view raw
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 mainProgram = "nvmetcli"; 22 license = licenses.asl20; 23 platforms = platforms.linux; 24 maintainers = with maintainers; [ hoverbear ]; 25 }; 26}