tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pngcrush: fixes compilation on darwin
zimbatm.tngl.sh
10 years ago
93ddfbac
e1873ade
+3
-1
1 changed file
expand all
collapse all
unified
split
pkgs
tools
graphics
pngcrush
default.nix
+3
-1
pkgs/tools/graphics/pngcrush/default.nix
···
8
8
sha256 = "0dlwbqckv90cpvg8qhkl3nk5yb75ddi61vbpmmp9n0j6qq9lp6y4";
9
9
};
10
10
11
11
+
makeFlags = [ "CC=cc" "LD=cc" ]; # gcc and/or clang compat
12
12
+
11
13
configurePhase = ''
12
14
sed -i s,/usr,$out, Makefile
13
15
'';
···
18
20
homepage = http://pmt.sourceforge.net/pngcrush;
19
21
description = "A PNG optimizer";
20
22
license = stdenv.lib.licenses.free;
21
21
-
platforms = with stdenv.lib.platforms; linux;
23
23
+
platforms = with stdenv.lib.platforms; linux ++ darwin;
22
24
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
23
25
};
24
26
}