mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 11:13:30 +00:00
435959ce6f
Release 1.4.7 was so far only published on GitHub and not on the
authors website. Therefore we switch to fetchFromGitHub for obtaining
the source. The license changed from gpl2+ to gpl3+ with commit
2c0f5f2c2c
27 lines
601 B
Nix
27 lines
601 B
Nix
{ lib, stdenv, fetchFromGitHub, libjpeg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.4.7";
|
|
pname = "jpegoptim";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tjko";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-qae3OEG4CC/OGkmNdHrXFUv9CkoaB1ZJnFHX3RFoxhk=";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|