nixpkgs-suyu/pkgs/development/libraries/libxtc_dxtn/default.nix
Peter Simons 1235f25426 libtxc_dxtn: add version 1.0.1
The build expression was kindly provided by Arseniy Alekseyev.
2012-12-25 11:57:55 +01:00

15 lines
393 B
Nix

{ stdenv, fetchurl, mesa }:
stdenv.mkDerivation rec {
name = "libtxc_dxtn-1.0.1";
src = fetchurl {
url = "people.freedesktop.org/~cbrill/libtxc_dxtn/${name}.tar.bz2";
sha256 = "0q5fjaknl7s0z206dd8nzk9bdh8g4p23bz7784zrllnarl90saa5";
};
postUnpack = ''
tar xf ${mesa.src} --wildcards '*/include/'
export NIX_CFLAGS_COMPILE="-I $NIX_BUILD_TOP/[mM]esa*/include"
'';
}