1{ lib 2, fetchFromGitHub 3, buildPythonPackage 4, six 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "jpylyzer"; 10 version = "2.0.0"; 11 12 src = fetchFromGitHub { 13 owner = "openpreserve"; 14 repo = pname; 15 rev = version; 16 sha256 = "01wfbb1bgby9b7m6q7483kvpyc1qhj80dg8d5a6smcxvmy8y6x5n"; 17 }; 18 19 propagatedBuildInputs = [ six ]; 20 21 checkInputs = [ pytestCheckHook ]; 22 pythonImportsCheck = [ "jpylyzer" ]; 23 24 meta = with lib; { 25 description = "JP2 (JPEG 2000 Part 1) image validator and properties extractor"; 26 homepage = "https://jpylyzer.openpreservation.org/"; 27 license = licenses.lgpl3; 28 maintainers = with maintainers; [ ris ]; 29 }; 30}