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
sha256 = "0dlwbqckv90cpvg8qhkl3nk5yb75ddi61vbpmmp9n0j6qq9lp6y4";
9
};
10
0
0
11
configurePhase = ''
12
sed -i s,/usr,$out, Makefile
13
'';
···
18
homepage = http://pmt.sourceforge.net/pngcrush;
19
description = "A PNG optimizer";
20
license = stdenv.lib.licenses.free;
21
-
platforms = with stdenv.lib.platforms; linux;
22
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
23
};
24
}
···
8
sha256 = "0dlwbqckv90cpvg8qhkl3nk5yb75ddi61vbpmmp9n0j6qq9lp6y4";
9
};
10
11
+
makeFlags = [ "CC=cc" "LD=cc" ]; # gcc and/or clang compat
12
+
13
configurePhase = ''
14
sed -i s,/usr,$out, Makefile
15
'';
···
20
homepage = http://pmt.sourceforge.net/pngcrush;
21
description = "A PNG optimizer";
22
license = stdenv.lib.licenses.free;
23
+
platforms = with stdenv.lib.platforms; linux ++ darwin;
24
maintainers = with stdenv.lib.maintainers; [ the-kenny ];
25
};
26
}