3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/jpegoptim/default.nix

25 lines
592 B
Nix
Raw Normal View History

2015-12-31 15:55:33 +00:00
{ stdenv, fetchurl, libjpeg }:
stdenv.mkDerivation rec {
2017-03-19 00:09:17 +00:00
version = "1.4.4";
2015-12-31 15:55:33 +00:00
name = "jpegoptim-${version}";
src = fetchurl {
url = "http://www.kokkonen.net/tjko/src/${name}.tar.gz";
2017-03-19 00:09:17 +00:00
sha256 = "1cn1i0g1xjdwa12w0ifbnzgb1vqbpr8ji6h05vxksj79vyi3x849";
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 = http://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
};
}