nixpkgs/pkgs/applications/graphics/jpegoptim/default.nix

25 lines
596 B
Nix
Raw Normal View History

2015-12-31 15:55:33 +00:00
{ stdenv, fetchurl, libjpeg }:
stdenv.mkDerivation rec {
version = "1.4.6";
pname = "jpegoptim";
2015-12-31 15:55:33 +00:00
src = fetchurl {
url = "https://www.kokkonen.net/tjko/src/${pname}-${version}.tar.gz";
sha256 = "1dss7907fclfl8zsw0bl4qcw0hhz6fqgi3867w0jyfm3q9jfpcc8";
2015-12-31 15:55:33 +00:00
};
# There are no checks, it seems.
doCheck = false;
buildInputs = [ libjpeg ];
2017-03-19 00:09:17 +00:00
meta = with stdenv.lib; {
2015-12-31 15:55:33 +00:00
description = "Optimize JPEG files";
homepage = https://www.kokkonen.net/tjko/projects.html ;
2017-03-19 00:09:17 +00:00
license = licenses.gpl2;
maintainers = [ maintainers.aristid ];
platforms = platforms.all;
2015-12-31 15:55:33 +00:00
};
}