tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
imlib2: 1.7.3 -> 1.7.5
c0bw3b
4 years ago
597f76f0
f4d82e40
+5
-13
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
imlib2
default.nix
+5
-13
pkgs/development/libraries/imlib2/default.nix
···
12
12
in
13
13
stdenv.mkDerivation rec {
14
14
pname = "imlib2";
15
15
-
version = "1.7.3";
15
15
+
version = "1.7.5";
16
16
17
17
src = fetchurl {
18
18
-
url = "mirror://sourceforge/enlightenment/${pname}-${version}.tar.bz2";
19
19
-
sha256 = "sha256-FY0LjCC8ESIa+ed6ZKEW/KcFGwPN6ixPMdMfRpOC+Zc=";
18
18
+
url = "mirror://sourceforge/enlightenment/${pname}-${version}.tar.xz";
19
19
+
hash = "sha256-RY2DAKp6bUzjU1GDi7pdn9+wiES9WxU8WTjs/kP/Ngo=";
20
20
};
21
21
22
22
buildInputs = [
···
28
28
29
29
enableParallelBuilding = true;
30
30
31
31
-
preConfigure = ''
32
32
-
substituteInPlace imlib2-config.in \
33
33
-
--replace "@my_libs@" ""
34
34
-
'';
35
35
-
36
31
# Do not build amd64 assembly code on Darwin, because it fails to compile
37
32
# with unknow directive errors
38
33
configureFlags = optional stdenv.isDarwin "--enable-amd64=no"
39
34
++ optional (!x11Support) "--without-x";
40
35
41
36
outputs = [ "bin" "out" "dev" ];
42
42
-
43
43
-
postInstall = ''
44
44
-
moveToOutput bin/imlib2-config "$dev"
45
45
-
'';
46
37
47
38
meta = with lib; {
48
39
description = "Image manipulation library";
···
56
47
'';
57
48
58
49
homepage = "https://docs.enlightenment.org/api/imlib2/html";
59
59
-
license = licenses.mit;
50
50
+
changelog = "https://git.enlightenment.org/legacy/imlib2.git/plain/ChangeLog?h=v${version}";
51
51
+
license = licenses.imlib2;
60
52
platforms = platforms.unix;
61
53
maintainers = with maintainers; [ spwhitt ];
62
54
};