Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchurl, 5 isPy3k, 6 setuptools, 7 colorama, 8 six, 9 texttable, 10 tqdm, 11}: 12 13buildPythonPackage rec { 14 pname = "rbtools"; 15 version = "1.0.2"; 16 format = "setuptools"; 17 18 disabled = !isPy3k; 19 20 src = fetchurl { 21 url = "https://downloads.reviewboard.org/releases/RBTools/${lib.versions.majorMinor version}/RBTools-${version}.tar.gz"; 22 sha256 = "577c2f8bbf88f77bda84ee95af0310b59111c156f48a5aab56ca481e2f77eaf4"; 23 }; 24 25 propagatedBuildInputs = [ 26 six 27 texttable 28 tqdm 29 colorama 30 setuptools 31 ]; 32 33 # The kgb test dependency is not in nixpkgs 34 doCheck = false; 35 36 meta = with lib; { 37 homepage = "https://www.reviewboard.org/docs/rbtools/dev/"; 38 description = "RBTools is a set of command line tools for working with Review Board and RBCommons"; 39 mainProgram = "rbt"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ domenkozar ]; 42 }; 43}