nixpkgs/pkgs/development/libraries/zimg/default.nix
Alyssa Ross 735ab17d43
zimg: broaden platforms
From the README:

> Platforms: Microsoft Windows, POSIX

Tested building for FreeBSD.
2023-01-13 04:11:27 +00:00

26 lines
670 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "zimg";
version = "3.0.4";
src = fetchFromGitHub {
owner = "sekrit-twc";
repo = "zimg";
rev = "release-${version}";
sha256 = "1069x49l7kh1mqcq1h3f0m5j0h832jp5x230bh4c613ymgg5kn00";
};
nativeBuildInputs = [ autoreconfHook ];
enableParallelBuilding = true;
meta = with lib; {
description = "Scaling, colorspace conversion and dithering library";
homepage = "https://github.com/sekrit-twc/zimg";
license = licenses.wtfpl;
platforms = with platforms; unix ++ windows;
maintainers = with maintainers; [ rnhmjoj ];
};
}