3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libtxc_dxtn_s2tc/default.nix

26 lines
733 B
Nix
Raw Normal View History

{ stdenv, fetchurl, autoreconfHook, libGLU_combined }:
let version = "1.0"; in
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
2019-08-13 22:52:01 +01:00
pname = "libtxc_dxtn_s2tc";
inherit version;
src = fetchurl {
url = "https://github.com/divVerent/s2tc/archive/v${version}.tar.gz";
sha256 = "0ibfdib277fhbqvxzan0bmglwnsl1y1rw2g8skvz82l1sfmmn752";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libGLU_combined ];
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;
maintainers = [ stdenv.lib.maintainers.cpages ];
};
}