git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.pgspecial: add missing check input

Reformat, convert to pytestCheckHook, fixes the build.

commit2fa6935e01232284c7a6cb1e87aad3041efdd6d9 authorMartin Weinelt <hexa@darmstadt.ccc.de> dateFri 7 May 2021, 18:53 (6 years ago) parentcd609e7
1 file changed+18−7
pkgs/development/python-modules/pgspecial/default.nix+18−7
pkgs/development/python-modules/pgspecial/default.nix+18−7
@@ -1,4 +1,12 @@
1−{ lib, buildPythonPackage, fetchPypi, pytest, psycopg2, click, sqlparse }:
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, pytestCheckHook
5+, psycopg2
6+, click
7+, configobj
8+, sqlparse
9+}:
210
311buildPythonPackage rec {
412 pname = "pgspecial";
@@ -9,13 +17,16 @@ buildPythonPackage rec {
917 sha256 = "b68feb0005f57861573d3fbb82c5c777950decfbb2d1624af57aec825db02c02";
1018 };
1119
12− checkInputs = [ pytest ];
13− propagatedBuildInputs = [ click sqlparse psycopg2 ];
20+ propagatedBuildInputs = [
21+ click
22+ sqlparse
23+ psycopg2
24+ ];
1425
15− checkPhase = ''
16− find tests -name \*.pyc -delete
17− py.test tests
18− '';
26+ checkInputs = [
27+ configobj
28+ pytestCheckHook
29+ ];
1930
2031 meta = with lib; {
2132 description = "Meta-commands handler for Postgres Database";