imlib2: Fix license, remove global with

This commit is contained in:
Samuel Dionne-Riel 2020-01-30 15:50:21 -05:00 committed by Frederik Rietdijk
parent 2a8df18591
commit b0f9922f37

View File

@ -2,8 +2,9 @@
, freetype, libid3tag , freetype, libid3tag
, x11Support ? true, xlibsWrapper ? null }: , x11Support ? true, xlibsWrapper ? null }:
with stdenv.lib; let
inherit (stdenv.lib) optional;
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "imlib2"; pname = "imlib2";
version = "1.6.1"; version = "1.6.1";
@ -36,7 +37,7 @@ stdenv.mkDerivation rec {
moveToOutput bin/imlib2-config "$dev" moveToOutput bin/imlib2-config "$dev"
''; '';
meta = { meta = with stdenv.lib; {
description = "Image manipulation library"; description = "Image manipulation library";
longDescription = '' longDescription = ''
@ -47,8 +48,8 @@ stdenv.mkDerivation rec {
easily, without sacrificing speed. easily, without sacrificing speed.
''; '';
homepage = http://docs.enlightenment.org/api/imlib2/html; homepage = "https://docs.enlightenment.org/api/imlib2/html";
license = licenses.free; license = licenses.mit;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ spwhitt ]; maintainers = with maintainers; [ spwhitt ];
}; };