From 6e5d56ddbd0b8f29840b83c614894c8138f3103e Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Tue, 28 Jul 2020 19:06:59 +0100 Subject: [PATCH] pythonPackages.jpylyzer: 1.18.0 -> 2.0.0 enable tests --- pkgs/development/python-modules/jpylyzer/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/jpylyzer/default.nix b/pkgs/development/python-modules/jpylyzer/default.nix index 6f9ceb96e3f5..442267b52ea0 100644 --- a/pkgs/development/python-modules/jpylyzer/default.nix +++ b/pkgs/development/python-modules/jpylyzer/default.nix @@ -2,24 +2,24 @@ , fetchFromGitHub , buildPythonPackage , six +, pytestCheckHook }: buildPythonPackage rec { pname = "jpylyzer"; - version = "1.18.0"; + version = "2.0.0"; src = fetchFromGitHub { owner = "openpreserve"; repo = pname; rev = version; - sha256 = "0vhrq15l6jd5fm6vj7mczjzjpl2ph1dk8jp89dw4vlccky8660ll"; + sha256 = "01wfbb1bgby9b7m6q7483kvpyc1qhj80dg8d5a6smcxvmy8y6x5n"; }; propagatedBuildInputs = [ six ]; - # there don't appear to be any in-tree tests as such, but the builder's automatic - # runner seems to be upset by the project layout - doCheck = false; + checkInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ "jpylyzer" ]; meta = with lib; { description = "JP2 (JPEG 2000 Part 1) image validator and properties extractor";