1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

libtxc_dxtn: add version 1.0.1

The build expression was kindly provided by Arseniy Alekseyev.
This commit is contained in:
Peter Simons 2012-12-25 11:57:55 +01:00
parent b0e92ac388
commit 1235f25426
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{ 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"
'';
}

View file

@ -4492,6 +4492,8 @@ let
libxslt = callPackage ../development/libraries/libxslt { };
libxtc_dxtn = callPackage ../development/libraries/libxtc_dxtn { };
libixp_for_wmii = lowPrio (import ../development/libraries/libixp_for_wmii {
inherit fetchurl stdenv;
});