python3Packages.pgspecial: add missing check input
Reformat, convert to pytestCheckHook, fixes the build.
This commit is contained in:
parent
cd609e7a1c
commit
2fa6935e01
|
@ -1,4 +1,12 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, pytest, psycopg2, click, sqlparse }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pytestCheckHook
|
||||||
|
, psycopg2
|
||||||
|
, click
|
||||||
|
, configobj
|
||||||
|
, sqlparse
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pgspecial";
|
pname = "pgspecial";
|
||||||
|
@ -9,13 +17,16 @@ buildPythonPackage rec {
|
||||||
sha256 = "b68feb0005f57861573d3fbb82c5c777950decfbb2d1624af57aec825db02c02";
|
sha256 = "b68feb0005f57861573d3fbb82c5c777950decfbb2d1624af57aec825db02c02";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [ click sqlparse psycopg2 ];
|
click
|
||||||
|
sqlparse
|
||||||
|
psycopg2
|
||||||
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkInputs = [
|
||||||
find tests -name \*.pyc -delete
|
configobj
|
||||||
py.test tests
|
pytestCheckHook
|
||||||
'';
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Meta-commands handler for Postgres Database";
|
description = "Meta-commands handler for Postgres Database";
|
||||||
|
|
Loading…
Reference in New Issue