686ce24904
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
26 lines
601 B
Nix
26 lines
601 B
Nix
{ lib, stdenv, fetchFromGitHub, libjpeg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.5.2";
|
|
pname = "jpegoptim";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tjko";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-PROQvOqsis8we58OOZ/kuY+L/CoV7XfnY9wvrpsTJu8=";
|
|
};
|
|
|
|
# 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.gpl3Plus;
|
|
maintainers = [ maintainers.aristid ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|