depot/third_party/nixpkgs/pkgs/applications/graphics/jpegoptim/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

24 lines
595 B
Nix

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