From 75573d02f2b064995dd752c6b16f683483a9ec61 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 14 Jan 2015 06:31:51 +0100 Subject: [PATCH] Python: add sqlparse 0.1.14: SQL parser --- pkgs/top-level/python-packages.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2f8212c3d139..deed4b93d930 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10079,6 +10079,26 @@ let }; + sqlparse = buildPythonPackage rec { + name = "sqlparse-${version}"; + version = "0.1.14"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/s/sqlparse/${name}.tar.gz"; + sha256 = "1w6shyh7n139cp636sym0frdyiwybw1m7gd2l4s3d7xbaccf6qg5"; + }; + + meta = with stdenv.lib; { + description = "Non-validating SQL parser for Python"; + longDescription = '' + Provides support for parsing, splitting and formatting SQL statements. + ''; + homepage = https://github.com/andialbrecht/sqlparse; + license = with licenses; [ bsd3 ]; + maintainers = with maintainers; [ nckx ]; + }; + }; + python_statsd = buildPythonPackage rec { name = "python-statsd-${version}"; version = "1.6.0";