mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
735ab17d43
From the README: > Platforms: Microsoft Windows, POSIX Tested building for FreeBSD.
26 lines
670 B
Nix
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 ];
|
|
};
|
|
}
|