pythonPackages.pymongo_2_9_1: refactor move to python-modules
This commit is contained in:
parent
2114c56b90
commit
02ecfb3a9e
2 changed files with 25 additions and 18 deletions
24
pkgs/development/python-modules/pymongo/2_9_1.nix
Normal file
24
pkgs/development/python-modules/pymongo/2_9_1.nix
Normal 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 ";
|
||||
};
|
||||
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue