From c632980a0231a2514e7acec3e8a15feb5a5373fa Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 14 Jul 2016 11:44:36 +0200 Subject: [PATCH] pythonPackages.pgspecial: fix tests --- pkgs/top-level/python-packages.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 230d857d2c3b..377a2d7ed307 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16683,6 +16683,12 @@ in modules // { url = "mirror://pypi/p/pgspecial/${name}.tar.gz"; }; + buildInputs = with self; [ pytest psycopg2 ]; + + checkPhase = '' + py.test tests + ''; + propagatedBuildInputs = with self; [ click sqlparse ]; meta = {