Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pymongo_2_9_1: Move to own file #36730

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 21 additions & 0 deletions pkgs/development/python-modules/pymongo/2_9_1.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi }:

buildPythonPackage rec {
pname = "pymongo";
version = "2.9.1";
name = "${pname}-${version}";

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";
};
}
19 changes: 1 addition & 18 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14275,24 +14275,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 = "http://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 = buildPythonPackage rec {
version = "1.5.27";
Expand Down