Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 30 lines 737 B view raw
1{ stdenv 2, fetchFromGitHub 3, buildPythonPackage 4, six 5}: 6 7buildPythonPackage rec { 8 pname = "jpylyzer"; 9 version = "1.18.0"; 10 11 src = fetchFromGitHub { 12 owner = "openpreserve"; 13 repo = pname; 14 rev = version; 15 sha256 = "0vhrq15l6jd5fm6vj7mczjzjpl2ph1dk8jp89dw4vlccky8660ll"; 16 }; 17 18 propagatedBuildInputs = [ six ]; 19 20 # there don't appear to be any in-tree tests as such, but the builder's automatic 21 # runner seems to be upset by the project layout 22 doCheck = false; 23 24 meta = with stdenv.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}