pythonPackages.rethinkdb: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 11:36:13 -04:00 committed by Frederik Rietdijk
parent 238f179d93
commit 35ef822992
2 changed files with 24 additions and 17 deletions

View File

@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "rethinkdb";
version = "2.3.0.post6";
src = fetchPypi {
inherit pname version;
sha256 = "05qwkmq6kn437ywyjs02jxbry720gw39q4z4jdb0cnbbi76lwddm";
};
doCheck = false;
meta = with stdenv.lib; {
description = "Python driver library for the RethinkDB database server";
homepage = "https://pypi.python.org/pypi/rethinkdb";
license = licenses.agpl3;
};
}

View File

@ -2137,23 +2137,7 @@ in {
rawkit = callPackage ../development/python-modules/rawkit { };
rethinkdb = buildPythonPackage rec {
name = "rethinkdb-${version}";
version = "2.3.0.post6";
src = pkgs.fetchurl {
url = "mirror://pypi/r/rethinkdb/${name}.tar.gz";
sha256 = "05qwkmq6kn437ywyjs02jxbry720gw39q4z4jdb0cnbbi76lwddm";
};
doCheck = false;
meta = {
description = "Python driver library for the RethinkDB database server";
homepage = "https://pypi.python.org/pypi/rethinkdb";
license = licenses.agpl3;
};
};
rethinkdb = callPackage ../development/python-modules/rethinkdb { };
roman = buildPythonPackage rec {
version = "2.0.0";