From a04caed0b3e50535cc826925bd06d5325e720370 Mon Sep 17 00:00:00 2001 From: Yuri Albuquerque Date: Fri, 8 Jan 2016 09:56:40 -0400 Subject: [PATCH 1/5] python-cerberus: init at 0.9.2 --- pkgs/top-level/python-packages.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 662ff4d83860..c41e89a3a950 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2492,6 +2492,21 @@ in modules // { }; }; + cerberus = buildPythonPackage rec { + name = "Cerberus-${version}"; + version = "0.9.2"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/C/Cerberus/${name}.tar.gz"; + sha256 = "1km7hvns1snrmcwz58bssi4wv3gwd34zm1z1hwjylmpqrfrcf8mi"; + }; + + meta = { + homepage = http://python-cerberus.org/; + description = "Lightweight, extensible schema and data validation tool for Python dictionaries"; + license = licenses.mit; + }; + }; certifi = buildPythonPackage rec { name = "certifi-${version}"; From 295b0534e8b34e62c42657e5925cd326c6c7fc51 Mon Sep 17 00:00:00 2001 From: Yuri Albuquerque Date: Fri, 8 Jan 2016 09:57:03 -0400 Subject: [PATCH 2/5] python-events: init at 0.2.1 --- pkgs/top-level/python-packages.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c41e89a3a950..784b4919ed93 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4557,6 +4557,22 @@ in modules // { }; }; + events = buildPythonPackage rec { + name = "Events-${version}"; + version = "0.2.1"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/E/Events/${name}.tar.gz"; + sha256 = "0rymyfvarjdi2fdhfz2iqmp4wgd2n2sm0p2mx44c3spm7ylnqzqa"; + }; + + meta = { + homepage = "http://events.readthedocs.org"; + description = "Bringing the elegance of C# EventHanlder to Python"; + license = licenses.bsd3; + }; + }; + eyeD3 = buildPythonPackage rec { version = "0.7.8"; From 96ce26580c7307a628d181571dbf002936cabc4a Mon Sep 17 00:00:00 2001 From: Yuri Albuquerque Date: Fri, 8 Jan 2016 09:59:11 -0400 Subject: [PATCH 3/5] python-pymongo: adding version 2.9.1 --- pkgs/top-level/python-packages.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 784b4919ed93..d6b6b872e9f5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -15951,6 +15951,25 @@ in modules // { }; }; + pymongo_2_9_1 = buildPythonPackage rec { + name = "pymongo-2.9.1"; + version = "2.9.1"; + + src = pkgs.fetchurl { + url = "http://pypi.python.org/packages/source/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 "; + }; + }; + pyperclip = buildPythonPackage rec { version = "1.5.11"; name = "pyperclip-${version}"; From 50cd9120ecba35eb989af3ab781afe6993d7c6a8 Mon Sep 17 00:00:00 2001 From: Yuri Albuquerque Date: Fri, 8 Jan 2016 10:01:25 -0400 Subject: [PATCH 4/5] python-flask-pymongo: init at 0.3.1 --- pkgs/top-level/python-packages.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d6b6b872e9f5..a0e4d5b07880 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7866,6 +7866,24 @@ in modules // { }; }; + flask-pymongo = buildPythonPackage rec { + name = "Flask-PyMongo-${version}"; + version = "0.3.1"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/F/Flask-PyMongo/${name}.tar.gz"; + sha256 = "0305qngvjrjyyabf8gxqgqvd9ffh00gr5yfrjf4nncr2my9svbyd"; + }; + + propagatedBuildInputs = with self; [ flask pymongo_2_9_1 ]; + + meta = { + homepage = "http://flask-pymongo.readthedocs.org/"; + description = "PyMongo support for Flask applications"; + license = licenses.bsd2; + }; + }; + wtforms = buildPythonPackage rec { version = "2.0.2"; name = "wtforms-${version}"; From a28060eebd04f70358d50d368140ffac006b4cb3 Mon Sep 17 00:00:00 2001 From: Yuri Albuquerque Date: Fri, 8 Jan 2016 10:02:09 -0400 Subject: [PATCH 5/5] python-eve: init at 0.6.1 --- pkgs/top-level/python-packages.nix | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a0e4d5b07880..9b351fade456 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4537,6 +4537,39 @@ in modules // { }; }; + eve = buildPythonPackage rec { + version = "0.6.1"; + name = "Eve-${version}"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/E/Eve/${name}.tar.gz"; + sha256 = "0wf1x8qixkld6liz5syqi8i9nrfrhq4lpmh0p9cy3jbkhk34km69"; + }; + + propagatedBuildInputs = with self; [ + cerberus + events + flask-pymongo + flask + itsdangerous + jinja2 + markupsafe + pymongo_2_9_1 + simplejson + werkzeug + + ]; + + # tests call a running mongodb instance + doCheck = false; + + meta = { + homepage = "http://python-eve.org/"; + description = "open source Python REST API framework designed for human beings"; + license = licenses.bsd3; + }; + }; + eventlib = buildPythonPackage rec { name = "python-eventlib-${version}";