Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 21 lines 579 B view raw
1{ stdenv, fetchFromGitHub, buildPythonPackage, six, pyudev, pygobject3 }: 2 3buildPythonPackage rec { 4 pname = "rtslib"; 5 version = "2.1.fb69"; 6 7 src = fetchFromGitHub { 8 owner = "open-iscsi"; 9 repo ="${pname}-fb"; 10 rev = "v${version}"; 11 sha256 = "17rlcrd9757nq91pa8xjr7147k7mxxp8zdka7arhlgsp3kcnbsfd"; 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}