2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchurl
|
|
|
|
, isPy3k
|
|
|
|
, setuptools
|
|
|
|
, colorama
|
|
|
|
, six
|
|
|
|
, texttable
|
|
|
|
, tqdm
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rbtools";
|
|
|
|
version = "1.0.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-02-05 17:12:51 +00:00
|
|
|
url = "https://downloads.reviewboard.org/releases/RBTools/${lib.versions.majorMinor version}/RBTools-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "577c2f8bbf88f77bda84ee95af0310b59111c156f48a5aab56ca481e2f77eaf4";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six texttable tqdm colorama setuptools ];
|
|
|
|
|
|
|
|
# The kgb test dependency is not in nixpkgs
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.reviewboard.org/docs/rbtools/dev/";
|
|
|
|
description = "RBTools is a set of command line tools for working with Review Board and RBCommons";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "rbt";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|