Files
nixpkgs/pkgs/by-name/zi/zimg/package.nix
quantenzitrone 6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00

37 lines
736 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "zimg";
version = "3.0.6";
src = fetchFromGitHub {
owner = "sekrit-twc";
repo = "zimg";
rev = "release-${finalAttrs.version}";
sha256 = "sha256-T+/wuTxPK+PLofqJm3dujGqGGXhpdGQLjAttTQPsgOI=";
};
outputs = [
"out"
"dev"
"doc"
];
nativeBuildInputs = [ autoreconfHook ];
enableParallelBuilding = true;
meta = {
description = "Scaling, colorspace conversion and dithering library";
homepage = "https://github.com/sekrit-twc/zimg";
license = lib.licenses.wtfpl;
platforms = with lib.platforms; unix ++ windows;
maintainers = with lib.maintainers; [ rnhmjoj ];
};
})