1 { lib, stdenv, fetchFromGitHub, libjpeg }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-3p3kcUur1u09ROdKXG5H8eilu463Rzbn2yfYo5o6+KM=";
14 # There are no checks, it seems.
17 buildInputs = [ libjpeg ];
20 description = "Optimize JPEG files";
21 homepage = "https://www.kokkonen.net/tjko/projects.html";
22 license = licenses.gpl3Plus;
23 maintainers = [ maintainers.aristid ];
24 platforms = platforms.all;
25 mainProgram = "jpegoptim";