2015-12-31 07:55:33 -08:00
|
|
|
{ stdenv, fetchurl, libjpeg }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-04-20 10:32:54 -07:00
|
|
|
version = "1.4.6";
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "jpegoptim";
|
2015-12-31 07:55:33 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "https://www.kokkonen.net/tjko/src/${pname}-${version}.tar.gz";
|
2018-04-20 10:32:54 -07:00
|
|
|
sha256 = "1dss7907fclfl8zsw0bl4qcw0hhz6fqgi3867w0jyfm3q9jfpcc8";
|
2015-12-31 07:55:33 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
# There are no checks, it seems.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = [ libjpeg ];
|
|
|
|
|
2017-03-18 17:09:17 -07:00
|
|
|
meta = with stdenv.lib; {
|
2015-12-31 07:55:33 -08:00
|
|
|
description = "Optimize JPEG files";
|
2019-04-14 16:25:45 -07:00
|
|
|
homepage = https://www.kokkonen.net/tjko/projects.html ;
|
2017-03-18 17:09:17 -07:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.aristid ];
|
|
|
|
platforms = platforms.all;
|
2015-12-31 07:55:33 -08:00
|
|
|
};
|
|
|
|
}
|