Merge pull request #327008 from Sigmanificient/libjpeg

libjpeg: add sigmanificient to maintainers
This commit is contained in:
Aleksana 2024-07-15 15:32:53 +08:00 committed by GitHub
commit b16c18742b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,9 @@
{ lib, stdenv, fetchurl
, testers
, static ? false
{
lib,
stdenv,
fetchurl,
testers,
static ? false,
}:
stdenv.mkDerivation (finalAttrs: {
@ -9,19 +12,24 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchurl {
url = "http://www.ijg.org/files/jpegsrc.v${finalAttrs.version}.tar.gz";
sha256 = "sha256-BHBcEQyyRpyqeftx+6PXv4NJFHBulkGkWJSFwfgyVls=";
hash = "sha256-BHBcEQyyRpyqeftx+6PXv4NJFHBulkGkWJSFwfgyVls=";
};
configureFlags = lib.optional static "--enable-static --disable-shared";
outputs = [ "bin" "dev" "out" "man" ];
outputs = [
"bin"
"dev"
"out"
"man"
];
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
homepage = "https://www.ijg.org/";
description = "Library that implements the JPEG image file format";
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ sigmanificient ];
license = licenses.free;
pkgConfigModules = [ "libjpeg" ];
platforms = platforms.unix;