2018-02-24 13:12:44 +00:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, libGLU_combined }:
|
2012-12-13 09:57:52 +00:00
|
|
|
|
|
|
|
let version = "1.0.1"; in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libtxc_dxtn-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-10-18 20:32:27 +01:00
|
|
|
url = "http://people.freedesktop.org/~cbrill/libtxc_dxtn/${name}.tar.bz2";
|
|
|
|
sha256 = "0q5fjaknl7s0z206dd8nzk9bdh8g4p23bz7784zrllnarl90saa5";
|
2012-12-13 09:57:52 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2018-02-24 13:12:44 +00:00
|
|
|
buildInputs = [ libGLU_combined ];
|
2012-12-13 09:57:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://dri.freedesktop.org/wiki/S3TC;
|
2013-10-18 20:32:27 +01:00
|
|
|
repositories.git = git://people.freedesktop.org/~mareko/libtxc_dxtn;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2012-12-13 09:57:52 +00:00
|
|
|
};
|
|
|
|
}
|