2021-05-07 17:53:31 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
, psycopg2
|
|
|
|
, click
|
|
|
|
, configobj
|
|
|
|
, sqlparse
|
|
|
|
}:
|
2018-09-18 12:00:59 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pgspecial";
|
2021-03-24 09:28:19 +00:00
|
|
|
version = "1.12.1";
|
2018-09-18 12:00:59 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:19 +00:00
|
|
|
sha256 = "b68feb0005f57861573d3fbb82c5c777950decfbb2d1624af57aec825db02c02";
|
2018-09-18 12:00:59 +01:00
|
|
|
};
|
|
|
|
|
2021-05-07 17:53:31 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
click
|
|
|
|
sqlparse
|
|
|
|
psycopg2
|
|
|
|
];
|
2018-09-18 12:00:59 +01:00
|
|
|
|
2021-05-07 17:53:31 +01:00
|
|
|
checkInputs = [
|
|
|
|
configobj
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2018-09-18 12:00:59 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-09-18 12:00:59 +01:00
|
|
|
description = "Meta-commands handler for Postgres Database";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/pgspecial";
|
2018-09-18 12:00:59 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|