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:
parent
312efd0e9c
commit
216eea1101
1 changed files with 21 additions and 13 deletions
|
@ -22,6 +22,8 @@
|
||||||
, enlightenment
|
, enlightenment
|
||||||
, xorg
|
, xorg
|
||||||
, testers
|
, testers
|
||||||
|
|
||||||
|
, gitUpdater
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -29,11 +31,11 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "imlib2";
|
pname = "imlib2";
|
||||||
version = "1.12.0";
|
version = "1.12.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/enlightenment/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
|
url = "mirror://sourceforge/enlightenment/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
|
||||||
hash = "sha256-lf9dTMF92fk0wuetFRw2DzCIgKCnhJpspDt8e5pLshY=";
|
hash = "sha256-jCTS0YnE1a5gLb8vwPuxF6qSPqtsiDBB8P7spOjGd04=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -59,19 +61,25 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
outputs = [ "bin" "out" "dev" ];
|
outputs = [ "bin" "out" "dev" ];
|
||||||
|
|
||||||
passthru.tests = {
|
passthru = {
|
||||||
inherit
|
tests = {
|
||||||
libcaca
|
inherit
|
||||||
diffoscopeMinimal
|
libcaca
|
||||||
feh
|
diffoscopeMinimal
|
||||||
icewm
|
feh
|
||||||
openbox
|
icewm
|
||||||
fluxbox
|
openbox
|
||||||
enlightenment;
|
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; {
|
meta = with lib; {
|
||||||
description = "Image manipulation library";
|
description = "Image manipulation library";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue