1{ lib 2, fetchFromGitHub 3, buildPythonPackage 4, six 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "jpylyzer"; 10 version = "2.0.1"; 11 12 src = fetchFromGitHub { 13 owner = "openpreserve"; 14 repo = pname; 15 rev = version; 16 sha256 = "1cd9klq83g9p4nkg7x78axqid5vcsqzggp431hcfdiixa50yjxjg"; 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}