nixpkgs/pkgs/applications/graphics/jpeginfo/default.nix
2024-02-11 03:19:15 +01:00

23 lines
611 B
Nix

{ lib, stdenv, fetchurl, libjpeg }:
stdenv.mkDerivation rec {
pname = "jpeginfo";
version = "1.7.1";
src = fetchurl {
url = "https://www.kokkonen.net/tjko/src/${pname}-${version}.tar.gz";
sha256 = "sha256-J09r4j/Qib2ehxW2dkOmbKL2OlAwKL3qPlcSKNULZp4=";
};
buildInputs = [ libjpeg ];
meta = with lib; {
description = "Prints information and tests integrity of JPEG/JFIF files";
homepage = "https://www.kokkonen.net/tjko/projects.html";
license = licenses.gpl2Plus;
maintainers = [ maintainers.bjornfor ];
platforms = platforms.all;
mainProgram = "jpeginfo";
};
}