2018-02-24 13:12:44 +00:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, libGLU_combined }:
|
2014-04-09 21:32:11 +01:00
|
|
|
|
|
|
|
let version = "1.0"; in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libtxc_dxtn_s2tc-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/divVerent/s2tc/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "0ibfdib277fhbqvxzan0bmglwnsl1y1rw2g8skvz82l1sfmmn752";
|
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2018-02-24 13:12:44 +00:00
|
|
|
buildInputs = [ libGLU_combined ];
|
2014-04-09 21:32:11 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A patent-free S3TC compatible implementation";
|
|
|
|
homepage = https://github.com/divVerent/s2tc;
|
|
|
|
repositories.git = https://github.com/divVerent/s2tc.git;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-01-20 11:23:57 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.cpages ];
|
2014-04-09 21:32:11 +01:00
|
|
|
};
|
|
|
|
}
|