pythonPackages.rbtools: refactor move to python-modules
This commit is contained in:
parent
c25ea93761
commit
14ed72da04
31
pkgs/development/python-modules/rbtools/default.nix
Normal file
31
pkgs/development/python-modules/rbtools/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchurl
|
||||||
|
, nose
|
||||||
|
, six
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "rbtools";
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ nose ];
|
||||||
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
|
checkPhase = "nosetests";
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3528,25 +3528,7 @@ in {
|
|||||||
|
|
||||||
recaptcha_client = callPackage ../development/python-modules/recaptcha_client { };
|
recaptcha_client = callPackage ../development/python-modules/recaptcha_client { };
|
||||||
|
|
||||||
rbtools = buildPythonPackage rec {
|
rbtools = callPackage ../development/python-modules/rbtools { };
|
||||||
name = "rbtools-0.7.2";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "http://downloads.reviewboard.org/releases/RBTools/0.7/RBTools-0.7.2.tar.gz";
|
|
||||||
sha256 = "1ng8l8cx81cz23ls7fq9wz4ijs0zbbaqh4kj0mj6plzcqcf8na4i";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ nose ];
|
|
||||||
propagatedBuildInputs = with self; [ six ];
|
|
||||||
|
|
||||||
checkPhase = "nosetests";
|
|
||||||
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
maintainers = with maintainers; [ domenkozar ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
rencode = buildPythonPackage rec {
|
rencode = buildPythonPackage rec {
|
||||||
name = "rencode-${version}";
|
name = "rencode-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user