Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 22 lines 609 B view raw
1{ stdenv, python, fetchFromGitHub }: 2 3python.pkgs.buildPythonApplication rec { 4 pname = "targetcli"; 5 version = "2.1.fb49"; 6 7 src = fetchFromGitHub { 8 owner = "open-iscsi"; 9 repo = "${pname}-fb"; 10 rev = "v${version}"; 11 sha256 = "093dmwc5g6yz4cdgpbfszmc97i7nd286w4x447dvg22hvwvjwqhh"; 12 }; 13 14 propagatedBuildInputs = with python.pkgs; [ configshell rtslib ]; 15 16 meta = with stdenv.lib; { 17 description = "A command shell for managing the Linux LIO kernel target"; 18 homepage = https://github.com/open-iscsi/targetcli-fb; 19 license = licenses.asl20; 20 platforms = platforms.linux; 21 }; 22}