2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2019-07-06 17:36:21 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonPackage
|
|
|
|
, six
|
2020-07-28 18:06:59 +00:00
|
|
|
, pytestCheckHook
|
2019-07-06 17:36:21 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jpylyzer";
|
2022-01-14 00:58:28 +00:00
|
|
|
version = "2.0.1";
|
2019-07-06 17:36:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "openpreserve";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-01-14 00:58:28 +00:00
|
|
|
sha256 = "1cd9klq83g9p4nkg7x78axqid5vcsqzggp431hcfdiixa50yjxjg";
|
2019-07-06 17:36:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2020-07-28 18:06:59 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "jpylyzer" ];
|
2019-07-06 17:36:21 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-07-06 17:36:21 +00:00
|
|
|
description = "JP2 (JPEG 2000 Part 1) image validator and properties extractor";
|
|
|
|
homepage = "https://jpylyzer.openpreservation.org/";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ ris ];
|
|
|
|
};
|
|
|
|
}
|