Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
821 B
Nix
38 lines
821 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
testers,
|
|
static ? false,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libjpeg";
|
|
version = "9f";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.ijg.org/files/jpegsrc.v${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-BHBcEQyyRpyqeftx+6PXv4NJFHBulkGkWJSFwfgyVls=";
|
|
};
|
|
|
|
configureFlags = lib.optional static "--enable-static --disable-shared";
|
|
|
|
outputs = [
|
|
"bin"
|
|
"dev"
|
|
"out"
|
|
"man"
|
|
];
|
|
|
|
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
|
|
|
meta = {
|
|
homepage = "https://www.ijg.org/";
|
|
description = "Library that implements the JPEG image file format";
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
license = lib.licenses.free;
|
|
pkgConfigModules = [ "libjpeg" ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|