From f0125f019e3492b3ca4042bd1cbf66a2f4a99258 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Mon, 3 Mar 2014 10:34:26 -0600 Subject: [PATCH 1/3] paypalrestsdk: Add package --- 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 5d2b8efd446d..08ba1ca40c46 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4544,6 +4544,22 @@ pythonPackages = modules // import ./python-packages-generated.nix { }; }; + paypalrestsdk = buildPythonPackage rec { + name = "paypalrestsdk-0.7.0"; + + src = fetchurl { + url = "https://pypi.python.org/packages/source/p/paypalrestsdk/${name}.tar.gz"; + sha256 = "117kfipzfahf9ysv414bh1mmm5cc9ck5zb6rhpslx1f8gk3frvd6"; + }; + + propagatedBuildInputs = [ httplib2 ]; + + meta = { + homepage = https://developer.paypal.com/; + description = "Python APIs to create, process and manage payment"; + license = "PayPal SDK License"; + }; + }; pep8 = buildPythonPackage rec { name = "pep8-${version}"; From ea5d87fedfbdcf9722a9daaa5822ce5e5e43690c Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Mon, 3 Mar 2014 10:25:33 -0600 Subject: [PATCH 2/3] sorl_thumbnail: Add package --- 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 08ba1ca40c46..fef5a7aac239 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6601,6 +6601,22 @@ pythonPackages = modules // import ./python-packages-generated.nix { }; }; + sorl_thumbnail = buildPythonPackage rec { + name = "sorl-thumbnail-11.12"; + + src = fetchurl { + url = "https://pypi.python.org/packages/source/s/sorl-thumbnail/${name}.tar.gz"; + sha256 = "050b9kzbx7jvs3qwfxxshhis090hk128maasy8pi5wss6nx5kyw4"; + }; + + doCheck = false; + + meta = { + homepage = http://sorl-thumbnail.readthedocs.org/en/latest/; + description = "Thumbnails for Django"; + license = stdenv.lib.licenses.bsd3; + }; + }; supervisor = buildPythonPackage rec { name = "supervisor-3.0"; From 347681ef74c4787052b442b5f6e60c3baa8b20f2 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Mon, 3 Mar 2014 12:30:58 -0600 Subject: [PATCH 3/3] sorl: Describe test failures --- pkgs/top-level/python-packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fef5a7aac239..4e444d939fdb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6609,6 +6609,7 @@ pythonPackages = modules // import ./python-packages-generated.nix { sha256 = "050b9kzbx7jvs3qwfxxshhis090hk128maasy8pi5wss6nx5kyw4"; }; + # Disabled due to an improper configuration error when tested against django. This looks like something broken in the test cases for sorl. doCheck = false; meta = {