imlib2: 1.12.0 -> 1.12.1

While at it added trivial updater.

Changes: https://git.enlightenment.org/old/legacy-imlib2/raw/tag/v1.12.1/ChangeLog
This commit is contained in:
Sergei Trofimovich 2023-09-24 12:40:08 +01:00
parent 312efd0e9c
commit 216eea1101

View file

@ -22,6 +22,8 @@
, enlightenment
, xorg
, testers
, gitUpdater
}:
let
@ -29,11 +31,11 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "imlib2";
version = "1.12.0";
version = "1.12.1";
src = fetchurl {
url = "mirror://sourceforge/enlightenment/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
hash = "sha256-lf9dTMF92fk0wuetFRw2DzCIgKCnhJpspDt8e5pLshY=";
hash = "sha256-jCTS0YnE1a5gLb8vwPuxF6qSPqtsiDBB8P7spOjGd04=";
};
buildInputs = [
@ -59,19 +61,25 @@ stdenv.mkDerivation (finalAttrs: {
outputs = [ "bin" "out" "dev" ];
passthru.tests = {
inherit
libcaca
diffoscopeMinimal
feh
icewm
openbox
fluxbox
enlightenment;
passthru = {
tests = {
inherit
libcaca
diffoscopeMinimal
feh
icewm
openbox
fluxbox
enlightenment;
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
updateScript = gitUpdater {
# No nicer place to find latest release.
url = "https://git.enlightenment.org/old/legacy-imlib2.git";
rev-prefix = "v";
};
};
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
meta = with lib; {
description = "Image manipulation library";