tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gifsicle: 1.87 -> 1.88
+ fix for gifview flag
+ tests
zimbatm.tngl.sh
10 years ago
2273bd5b
58d870d4
+16
-6
1 changed file
expand all
collapse all
unified
split
pkgs
tools
graphics
gifsicle
default.nix
+16
-6
pkgs/tools/graphics/gifsicle/default.nix
···
2
3
with stdenv.lib;
4
5
-
stdenv.mkDerivation {
6
-
name = "gifsicle-1.87";
0
7
8
src = fetchurl {
9
-
url = http://www.lcdf.org/gifsicle/gifsicle-1.87.tar.gz;
10
-
sha256 = "078rih7gq86ixjqbnn5z1jsh11qlfisw6k8dxaccsh5amhybw2j7";
11
};
12
13
buildInputs = optional gifview [ xproto libXt libX11 ];
14
0
0
0
15
LDFLAGS = optional static "-static";
0
0
0
0
0
16
17
meta = {
18
description = "Command-line tool for creating, editing, and getting information about GIF images and animations";
19
-
homepage = http://www.lcdf.org/gifsicle/;
20
license = stdenv.lib.licenses.gpl2;
21
-
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
0
22
};
23
}
···
2
3
with stdenv.lib;
4
5
+
stdenv.mkDerivation rec {
6
+
name = "gifsicle-${version}";
7
+
version = "1.88";
8
9
src = fetchurl {
10
+
url = "http://www.lcdf.org/gifsicle/${name}.tar.gz";
11
+
sha256 = "4585d2e683d7f68eb8fcb15504732d71d7ede48ab5963e61915201f9e68305be";
12
};
13
14
buildInputs = optional gifview [ xproto libXt libX11 ];
15
16
+
configureFlags = []
17
+
++ optional (!gifview) [ "--disable-gifview" ];
18
+
19
LDFLAGS = optional static "-static";
20
+
21
+
doCheck = true;
22
+
checkPhase = ''
23
+
./src/gifsicle --info logo.gif
24
+
'';
25
26
meta = {
27
description = "Command-line tool for creating, editing, and getting information about GIF images and animations";
28
+
homepage = https://www.lcdf.org/gifsicle/;
29
license = stdenv.lib.licenses.gpl2;
30
+
platforms = platforms.all;
31
+
maintainers = with stdenv.lib.maintainers; [ fuuzetsu zimbatm ];
32
};
33
}