summary refs log tree commit diff
path: root/pkgs/development/python-modules/rbtools/default.nix
blob: 71b40318a514a7ee520bde0537e9e35f3277eb9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ stdenv
, buildPythonPackage
, fetchurl
, isPy3k
, setuptools
, colorama
, six
, texttable
, tqdm
}:

buildPythonPackage rec {
  pname = "rbtools";
  version = "1.0.2";

  disabled = !isPy3k;

  src = fetchurl {
    url = "https://downloads.reviewboard.org/releases/RBTools/${stdenv.lib.versions.majorMinor version}/RBTools-${version}.tar.gz";
    sha256 = "577c2f8bbf88f77bda84ee95af0310b59111c156f48a5aab56ca481e2f77eaf4";
  };

  propagatedBuildInputs = [ six texttable tqdm colorama setuptools ];

  # 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 ];
  };

}