nixpkgs/pkgs/applications/graphics/jpegoptim/default.nix
R. RyanTM 54fe9578c3 jpegoptim: 1.4.4 -> 1.4.5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/jpegoptim/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/qldhz6lqamsv2pbdyimsgwdfc53bawyn-jpegoptim-1.4.5/bin/jpegoptim -h` got 0 exit code
- ran `/nix/store/qldhz6lqamsv2pbdyimsgwdfc53bawyn-jpegoptim-1.4.5/bin/jpegoptim --help` got 0 exit code
- ran `/nix/store/qldhz6lqamsv2pbdyimsgwdfc53bawyn-jpegoptim-1.4.5/bin/jpegoptim help` got 0 exit code
- ran `/nix/store/qldhz6lqamsv2pbdyimsgwdfc53bawyn-jpegoptim-1.4.5/bin/jpegoptim -V` and found version 1.4.5
- ran `/nix/store/qldhz6lqamsv2pbdyimsgwdfc53bawyn-jpegoptim-1.4.5/bin/jpegoptim --version` and found version 1.4.5
- ran `/nix/store/qldhz6lqamsv2pbdyimsgwdfc53bawyn-jpegoptim-1.4.5/bin/jpegoptim -h` and found version 1.4.5
- ran `/nix/store/qldhz6lqamsv2pbdyimsgwdfc53bawyn-jpegoptim-1.4.5/bin/jpegoptim --help` and found version 1.4.5
- found 1.4.5 with grep in /nix/store/qldhz6lqamsv2pbdyimsgwdfc53bawyn-jpegoptim-1.4.5
- directory tree listing: https://gist.github.com/5b96a382d26959a9ce1da4b4d0b45d55
2018-04-02 11:12:59 -07:00

25 lines
592 B
Nix

{ stdenv, fetchurl, libjpeg }:
stdenv.mkDerivation rec {
version = "1.4.5";
name = "jpegoptim-${version}";
src = fetchurl {
url = "http://www.kokkonen.net/tjko/src/${name}.tar.gz";
sha256 = "1mngi8c4mhzwa7i4wqrqq6i80cqj4adbacblfvk6dy573wywyxmi";
};
# There are no checks, it seems.
doCheck = false;
buildInputs = [ libjpeg ];
meta = with stdenv.lib; {
description = "Optimize JPEG files";
homepage = http://www.kokkonen.net/tjko/projects.html ;
license = licenses.gpl2;
maintainers = [ maintainers.aristid ];
platforms = platforms.all;
};
}