nixpkgs/pkgs/applications/graphics/jpegoptim/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
601 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, libjpeg }:
2015-12-31 15:55:33 +00:00
stdenv.mkDerivation rec {
2023-05-21 18:50:54 +00:00
version = "1.5.4";
pname = "jpegoptim";
2015-12-31 15:55:33 +00:00
src = fetchFromGitHub {
owner = "tjko";
repo = pname;
rev = "v${version}";
2023-05-21 18:50:54 +00:00
sha256 = "sha256-cfPQTSINEdii/A2czAIxKDUw6RZOH4xZI7HnUmKuR9k=";
2015-12-31 15:55:33 +00:00
};
# There are no checks, it seems.
doCheck = false;
buildInputs = [ libjpeg ];
meta = with lib; {
2015-12-31 15:55:33 +00:00
description = "Optimize JPEG files";
homepage = "https://www.kokkonen.net/tjko/projects.html";
license = licenses.gpl3Plus;
2017-03-19 00:09:17 +00:00
maintainers = [ maintainers.aristid ];
platforms = platforms.all;
2015-12-31 15:55:33 +00:00
};
}