imlib2: 1.7.3 -> 1.7.5

This commit is contained in:
c0bw3b 2022-01-22 18:51:55 +01:00
parent f4d82e40e8
commit 597f76f0bb

View file

@ -12,11 +12,11 @@ let
in
stdenv.mkDerivation rec {
pname = "imlib2";
version = "1.7.3";
version = "1.7.5";
src = fetchurl {
url = "mirror://sourceforge/enlightenment/${pname}-${version}.tar.bz2";
sha256 = "sha256-FY0LjCC8ESIa+ed6ZKEW/KcFGwPN6ixPMdMfRpOC+Zc=";
url = "mirror://sourceforge/enlightenment/${pname}-${version}.tar.xz";
hash = "sha256-RY2DAKp6bUzjU1GDi7pdn9+wiES9WxU8WTjs/kP/Ngo=";
};
buildInputs = [
@ -28,11 +28,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
preConfigure = ''
substituteInPlace imlib2-config.in \
--replace "@my_libs@" ""
'';
# Do not build amd64 assembly code on Darwin, because it fails to compile
# with unknow directive errors
configureFlags = optional stdenv.isDarwin "--enable-amd64=no"
@ -40,10 +35,6 @@ stdenv.mkDerivation rec {
outputs = [ "bin" "out" "dev" ];
postInstall = ''
moveToOutput bin/imlib2-config "$dev"
'';
meta = with lib; {
description = "Image manipulation library";
@ -56,7 +47,8 @@ stdenv.mkDerivation rec {
'';
homepage = "https://docs.enlightenment.org/api/imlib2/html";
license = licenses.mit;
changelog = "https://git.enlightenment.org/legacy/imlib2.git/plain/ChangeLog?h=v${version}";
license = licenses.imlib2;
platforms = platforms.unix;
maintainers = with maintainers; [ spwhitt ];
};