Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 580 B view raw
1{ stdenv, fetchFromGitHub, buildPythonPackage, six, pyudev, pygobject3 }: 2 3buildPythonPackage rec { 4 pname = "rtslib"; 5 version = "2.1.72"; 6 7 src = fetchFromGitHub { 8 owner = "open-iscsi"; 9 repo = "${pname}-fb"; 10 rev = "v${version}"; 11 sha256 = "13kycf9xkyxm1ik8yh3qpd96vird8y65daigyiyb4jvx0lmrd0kv"; 12 }; 13 14 propagatedBuildInputs = [ six pyudev pygobject3 ]; 15 16 meta = with stdenv.lib; { 17 description = "A Python object API for managing the Linux LIO kernel target"; 18 homepage = "https://github.com/open-iscsi/rtslib-fb"; 19 license = licenses.asl20; 20 }; 21}