summary refs log tree commit diff
path: root/pkgs/development/libraries/imlib2
diff options
context:
space:
mode:
authorc0bw3b <c0bw3b@users.noreply.github.com>2022-01-22 18:51:55 +0100
committerc0bw3b <c0bw3b@users.noreply.github.com>2022-01-23 18:06:50 +0100
commit597f76f0bbfcfbb38c4ff8243c9dc6877d17c3d7 (patch)
treed41858a77d1ece640718cbe3072d6bc81bfdb701 /pkgs/development/libraries/imlib2
parentf4d82e40e82a58b88b5b40ed9afaa5afb969ea59 (diff)
downloadnixpkgs-597f76f0bbfcfbb38c4ff8243c9dc6877d17c3d7.tar
nixpkgs-597f76f0bbfcfbb38c4ff8243c9dc6877d17c3d7.tar.gz
nixpkgs-597f76f0bbfcfbb38c4ff8243c9dc6877d17c3d7.tar.bz2
nixpkgs-597f76f0bbfcfbb38c4ff8243c9dc6877d17c3d7.tar.lz
nixpkgs-597f76f0bbfcfbb38c4ff8243c9dc6877d17c3d7.tar.xz
nixpkgs-597f76f0bbfcfbb38c4ff8243c9dc6877d17c3d7.tar.zst
nixpkgs-597f76f0bbfcfbb38c4ff8243c9dc6877d17c3d7.zip
imlib2: 1.7.3 -> 1.7.5
Diffstat (limited to 'pkgs/development/libraries/imlib2')
-rw-r--r--pkgs/development/libraries/imlib2/default.nix18
1 files changed, 5 insertions, 13 deletions
diff --git a/pkgs/development/libraries/imlib2/default.nix b/pkgs/development/libraries/imlib2/default.nix
index b61f4e442bf..1447a327e0d 100644
--- a/pkgs/development/libraries/imlib2/default.nix
+++ b/pkgs/development/libraries/imlib2/default.nix
@@ -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 ];
   };