3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/rbtools/default.nix

36 lines
853 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchurl
, isPy3k
2020-02-06 10:54:16 +00:00
, setuptools
, colorama
, six
, texttable
, tqdm
}:
2020-02-06 10:54:16 +00:00
buildPythonPackage rec {
pname = "rbtools";
2020-02-06 10:54:16 +00:00
version = "1.0.2";
disabled = !isPy3k;
src = fetchurl {
2020-02-06 10:54:16 +00:00
url = "https://downloads.reviewboard.org/releases/RBTools/${stdenv.lib.versions.majorMinor version}/RBTools-${version}.tar.gz";
sha256 = "577c2f8bbf88f77bda84ee95af0310b59111c156f48a5aab56ca481e2f77eaf4";
};
2020-02-06 10:54:16 +00:00
propagatedBuildInputs = [ six texttable tqdm colorama setuptools ];
2020-02-06 10:54:16 +00:00
# The kgb test dependency is not in nixpkgs
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://www.reviewboard.org/docs/rbtools/dev/";
description = "RBTools is a set of command line tools for working with Review Board and RBCommons";
license = licenses.mit;
maintainers = with maintainers; [ domenkozar ];
};
}