nixpkgs/pkgs/development/python-modules/jpylyzer/default.nix
2021-01-25 18:31:47 +01:00

31 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 ];
};
}