efffa4e392
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/c0w9l7rcn6kx098z11nx3x5q53dvcvmd-jpegoptim-1.4.6/bin/jpegoptim -h’ got 0 exit code - ran ‘/nix/store/c0w9l7rcn6kx098z11nx3x5q53dvcvmd-jpegoptim-1.4.6/bin/jpegoptim --help’ got 0 exit code - ran ‘/nix/store/c0w9l7rcn6kx098z11nx3x5q53dvcvmd-jpegoptim-1.4.6/bin/jpegoptim help’ got 0 exit code - found 1.4.6 with grep in /nix/store/c0w9l7rcn6kx098z11nx3x5q53dvcvmd-jpegoptim-1.4.6 - directory tree listing: https://gist.github.com/ccc6411a2aca02d1769831b9c561f6b4
25 lines
592 B
Nix
25 lines
592 B
Nix
{ stdenv, fetchurl, libjpeg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.4.6";
|
|
name = "jpegoptim-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.kokkonen.net/tjko/src/${name}.tar.gz";
|
|
sha256 = "1dss7907fclfl8zsw0bl4qcw0hhz6fqgi3867w0jyfm3q9jfpcc8";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|