From e985aa5501f6ab6bf363cf5ffd555e10a4fe63c5 Mon Sep 17 00:00:00 2001 From: Langston Barrett Date: Tue, 25 Jul 2017 21:50:16 +0000 Subject: [PATCH] pythonPackages.sqlobject: 3.0.0 -> 3.3.0 --- pkgs/top-level/python-packages.nix | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7cf16707d260..0f66e2b24cf7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -21662,14 +21662,23 @@ in { }; sqlobject = buildPythonPackage rec { - version = "3.0.0"; - name = "sqlobject-${version}"; - src = pkgs.fetchurl { - url = "mirror://pypi/S/SQLObject/SQLObject-${version}.tar.gz"; - sha256 = "15g3g7f4yiyplqf54px1dsnmrw3jb7xwx97z8qzgp9ijmm5vpr8r"; + pname = "SQLObject"; + version = "3.3.0"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "0p2dxrxh7xrv5yys09v5z95d0z40w22aq3xc01ghdidd7hr79xy9"; }; - propagatedBuildInputs = with self; [ pydispatcher FormEncode ]; + checkInputs = with self; [ pytest ]; + + propagatedBuildInputs = with self; [ + FormEncode + PasteDeploy + paste + pydispatcher + ]; meta = { description = "Object Relational Manager for providing an object interface to your database";