2018-10-26 16:56:53 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchurl
|
|
|
|
, nose
|
|
|
|
, six
|
2019-11-14 13:33:04 +00:00
|
|
|
, setuptools
|
2018-10-26 16:56:53 +01:00
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
buildPythonPackage {
|
2018-11-04 23:32:52 +00:00
|
|
|
pname = "rbtools";
|
2018-10-26 16:56:53 +01:00
|
|
|
version = "0.7.2";
|
|
|
|
disabled = isPy3k;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://downloads.reviewboard.org/releases/RBTools/0.7/RBTools-0.7.2.tar.gz";
|
|
|
|
sha256 = "1ng8l8cx81cz23ls7fq9wz4ijs0zbbaqh4kj0mj6plzcqcf8na4i";
|
|
|
|
};
|
|
|
|
|
2019-03-12 21:30:49 +00:00
|
|
|
checkInputs = [ nose ];
|
2019-11-14 13:33:04 +00:00
|
|
|
propagatedBuildInputs = [ six setuptools ];
|
2018-10-26 16:56:53 +01:00
|
|
|
|
2019-03-12 21:30:49 +00:00
|
|
|
checkPhase = "LC_ALL=C nosetests";
|
2018-10-26 16:56:53 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|