python rbtools: move expression to python-packages.nix

cc @domenkozar
This commit is contained in:
Frederik Rietdijk 2015-12-09 10:40:48 +01:00
parent 3e75b475f8
commit f9acc95a09
3 changed files with 21 additions and 18 deletions

View file

@ -1,17 +0,0 @@
{ stdenv, fetchurl, pythonPackages, python }:
pythonPackages.buildPythonPackage rec {
name = "rbtools-0.7.2";
namePrefix = "";
src = fetchurl {
url = "http://downloads.reviewboard.org/releases/RBTools/0.7/RBTools-0.7.2.tar.gz";
sha256 = "1ng8l8cx81cz23ls7fq9wz4ijs0zbbaqh4kj0mj6plzcqcf8na4i";
};
propagatedBuildInputs = [ python.modules.sqlite3 pythonPackages.six ];
meta = {
maintainers = [ stdenv.lib.maintainers.iElectric ];
};
}

View file

@ -9059,7 +9059,7 @@ let
pyxml = callPackage ../development/python-modules/pyxml { };
rbtools = callPackage ../development/python-modules/rbtools { };
rbtools = pythonPackages.rbtools;
setuptools = pythonPackages.setuptools;

View file

@ -15618,6 +15618,26 @@ in modules // {
};
};
rbtools = buildPythonPackage rec {
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; [ modules.sqlite3 six ];
checkPhase = "nosetests";
disabled = isPy3k;
meta = {
maintainers = with maintainers; [ iElectric ];
};
};
rencode = buildPythonPackage rec {
name = "rencode-${version}";
version = "git20150810";