pythonPackages.pgspecial: 1.8.0 -> 1.11.2

This commit is contained in:
Vladyslav Mykhailichenko
2018-09-18 14:00:59 +03:00
parent 83d89edc6e
commit 336a913f42
2 changed files with 26 additions and 25 deletions

View File

@@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, psycopg2, click, sqlparse }:
buildPythonPackage rec {
pname = "pgspecial";
version = "1.11.2";
src = fetchPypi {
inherit pname version;
sha256 = "1yq3cmpdcvwsz3nifc0db125433vxbgbpmbhxfj46b9s5k81xs30";
};
buildInputs = [ pytest psycopg2 ];
propagatedBuildInputs = [ click sqlparse ];
checkPhase = ''
find tests -name \*.pyc -delete
py.test tests
'';
meta = with stdenv.lib; {
description = "Meta-commands handler for Postgres Database";
homepage = https://pypi.python.org/pypi/pgspecial;
license = licenses.bsd3;
};
}