From b0f9922f3734dfaf52de13dacd3cfcb4bdd4ad0d Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Thu, 30 Jan 2020 15:50:21 -0500 Subject: imlib2: Fix license, remove global with --- pkgs/development/libraries/imlib2/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'pkgs/development/libraries/imlib2') diff --git a/pkgs/development/libraries/imlib2/default.nix b/pkgs/development/libraries/imlib2/default.nix index 9fb15ae01bc..ef535bbd86e 100644 --- a/pkgs/development/libraries/imlib2/default.nix +++ b/pkgs/development/libraries/imlib2/default.nix @@ -2,8 +2,9 @@ , freetype, libid3tag , x11Support ? true, xlibsWrapper ? null }: -with stdenv.lib; - +let + inherit (stdenv.lib) optional; +in stdenv.mkDerivation rec { pname = "imlib2"; version = "1.6.1"; @@ -36,7 +37,7 @@ stdenv.mkDerivation rec { moveToOutput bin/imlib2-config "$dev" ''; - meta = { + meta = with stdenv.lib; { description = "Image manipulation library"; longDescription = '' @@ -47,8 +48,8 @@ stdenv.mkDerivation rec { easily, without sacrificing speed. ''; - homepage = http://docs.enlightenment.org/api/imlib2/html; - license = licenses.free; + homepage = "https://docs.enlightenment.org/api/imlib2/html"; + license = licenses.mit; platforms = platforms.unix; maintainers = with maintainers; [ spwhitt ]; }; -- cgit 1.4.1