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