8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
30 lines
737 B
Nix
30 lines
737 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, buildPythonPackage
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jpylyzer";
|
|
version = "1.18.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "openpreserve";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0vhrq15l6jd5fm6vj7mczjzjpl2ph1dk8jp89dw4vlccky8660ll";
|
|
};
|
|
|
|
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;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "JP2 (JPEG 2000 Part 1) image validator and properties extractor";
|
|
homepage = "https://jpylyzer.openpreservation.org/";
|
|
license = licenses.lgpl3;
|
|
maintainers = with maintainers; [ ris ];
|
|
};
|
|
}
|