babl: 0.1.88 → 0.1.90

https://gitlab.gnome.org/GNOME/babl/-/compare/BABL_0_1_88...BABL_0_1_90
This commit is contained in:
Jan Tojnar 2022-02-23 21:09:06 +01:00
parent a632265bb4
commit fac4d4432f

View file

@ -1,5 +1,7 @@
{ lib, stdenv
{ stdenv
, lib
, fetchurl
, fetchpatch
, meson
, ninja
, pkg-config
@ -10,13 +12,21 @@
stdenv.mkDerivation rec {
pname = "babl";
version = "0.1.88";
version = "0.1.90";
outputs = [ "out" "dev" ];
patches = [
# Fix darwin build
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/babl/-/commit/33b18e74c9589fd4d5507ab88bd1fb19c15965dd.patch";
sha256 = "bEjjOjHGTF55o1z31G9GNDqERxn/7vUuWZQYHosSEBQ=";
})
];
src = fetchurl {
url = "https://download.gimp.org/pub/babl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "sha256-Tw1/SqoLsucl80mt97NRqVfZ+ybVVdmJWnr4FrQWcDk=";
sha256 = "sha256-bi67Y283WBWI49AkmbPS9p+axz40omL0KRHX9ZBqkkM=";
};
nativeBuildInputs = [
@ -34,6 +44,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Image pixel format conversion library";
homepage = "https://gegl.org/babl/";
changelog = "https://gitlab.gnome.org/GNOME/babl/-/blob/BABL_${lib.replaceStrings [ "." ] [ "_" ] version}/NEWS";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix;