diff --git a/pkgs/development/python-modules/sqlobject/default.nix b/pkgs/development/python-modules/sqlobject/default.nix new file mode 100644 index 000000000000..7a3551e88a0c --- /dev/null +++ b/pkgs/development/python-modules/sqlobject/default.nix @@ -0,0 +1,29 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, pytest +, FormEncode +, PasteDeploy +, paste +, pydispatcher +}: + +buildPythonPackage rec { + pname = "SQLObject"; + version = "3.3.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "0p2dxrxh7xrv5yys09v5z95d0z40w22aq3xc01ghdidd7hr79xy9"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ FormEncode PasteDeploy paste pydispatcher ]; + + meta = with stdenv.lib; { + description = "Object Relational Manager for providing an object interface to your database"; + homepage = "http://www.sqlobject.org/"; + license = licenses.lgpl21; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7cd18da98b74..aae7becdb9ad 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3742,31 +3742,7 @@ in { sqlite3dbm = callPackage ../development/python-modules/sqlite3dbm { }; - sqlobject = buildPythonPackage rec { - pname = "SQLObject"; - version = "3.3.0"; - name = "${pname}-${version}"; - - src = fetchPypi { - inherit pname version; - sha256 = "0p2dxrxh7xrv5yys09v5z95d0z40w22aq3xc01ghdidd7hr79xy9"; - }; - - checkInputs = with self; [ pytest ]; - - propagatedBuildInputs = with self; [ - FormEncode - PasteDeploy - paste - pydispatcher - ]; - - meta = { - description = "Object Relational Manager for providing an object interface to your database"; - homepage = "http://www.sqlobject.org/"; - license = licenses.lgpl21; - }; - }; + sqlobject = callPackage ../development/python-modules/sqlobject { }; sqlmap = callPackage ../development/python-modules/sqlmap { }; pgpdump = self.buildPythonPackage rec {