pythonPackages.pymongo_2_9_1: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 11:36:09 -04:00 committed by Frederik Rietdijk
parent 2114c56b90
commit 02ecfb3a9e
2 changed files with 25 additions and 18 deletions

View file

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "pymongo";
version = "2.9.1";
src = fetchPypi {
inherit pname version;
sha256 = "1nrr1fxyrlxd69bgxl7bvaj2j4z7v3zaciij5sbhxg0vqiz6ny50";
};
# Tests call a running mongodb instance
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/mongodb/mongo-python-driver;
license = licenses.asl20;
description = "Python driver for MongoDB ";
};
}

View file

@ -3487,24 +3487,7 @@ in {
pymongo = callPackage ../development/python-modules/pymongo {};
pymongo_2_9_1 = buildPythonPackage rec {
name = "pymongo-2.9.1";
version = "2.9.1";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pymongo/${name}.tar.gz";
sha256 = "1nrr1fxyrlxd69bgxl7bvaj2j4z7v3zaciij5sbhxg0vqiz6ny50";
};
# Tests call a running mongodb instance
doCheck = false;
meta = {
homepage = https://github.com/mongodb/mongo-python-driver;
license = licenses.asl20;
description = "Python driver for MongoDB ";
};
};
pymongo_2_9_1 = callPackage ../development/python-modules/pymongo/2_9_1.nix { };
pyperclip = callPackage ../development/python-modules/pyperclip { };