ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
30 lines
727 B
Nix
30 lines
727 B
Nix
{ lib
|
|
, 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 lib; {
|
|
description = "JP2 (JPEG 2000 Part 1) image validator and properties extractor";
|
|
homepage = "https://jpylyzer.openpreservation.org/";
|
|
license = licenses.lgpl3;
|
|
maintainers = with maintainers; [ ris ];
|
|
};
|
|
}
|