2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-07-06 18:36:21 +01:00
|
|
|
, 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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-07-06 18:36:21 +01:00
|
|
|
description = "JP2 (JPEG 2000 Part 1) image validator and properties extractor";
|
|
|
|
homepage = "https://jpylyzer.openpreservation.org/";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ ris ];
|
|
|
|
};
|
|
|
|
}
|