2019-11-07 16:36:47 +00:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, libGL, libGLU }:
|
2012-12-13 09:57:52 +00:00
|
|
|
|
|
|
|
let version = "1.0.1"; in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "libtxc_dxtn";
|
|
|
|
inherit version;
|
2012-12-13 09:57:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-13 22:52:01 +01:00
|
|
|
url = "https://people.freedesktop.org/~cbrill/libtxc_dxtn/${pname}-${version}.tar.bz2";
|
2013-10-18 20:32:27 +01:00
|
|
|
sha256 = "0q5fjaknl7s0z206dd8nzk9bdh8g4p23bz7784zrllnarl90saa5";
|
2012-12-13 09:57:52 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2019-11-07 16:36:47 +00:00
|
|
|
buildInputs = [ libGL libGLU ];
|
2012-12-13 09:57:52 +00:00
|
|
|
|
2018-10-11 13:27:14 +01:00
|
|
|
meta = with stdenv.lib; {
|
2012-12-13 09:57:52 +00:00
|
|
|
homepage = http://dri.freedesktop.org/wiki/S3TC;
|
2013-10-18 20:32:27 +01:00
|
|
|
repositories.git = git://people.freedesktop.org/~mareko/libtxc_dxtn;
|
2018-10-11 13:27:14 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
2012-12-13 09:57:52 +00:00
|
|
|
};
|
|
|
|
}
|