2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libjpeg }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.4.6";
|
|
|
|
pname = "jpegoptim";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.kokkonen.net/tjko/src/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1dss7907fclfl8zsw0bl4qcw0hhz6fqgi3867w0jyfm3q9jfpcc8";
|
|
|
|
};
|
|
|
|
|
|
|
|
# There are no checks, it seems.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ libjpeg ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Optimize JPEG files";
|
|
|
|
homepage = "https://www.kokkonen.net/tjko/projects.html";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.aristid ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|