nixpkgs/pkgs/development/libraries/libtxc_dxtn/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

22 lines
563 B
Nix

{ stdenv, fetchurl, autoreconfHook, mesa }:
let version = "1.0.1"; in
stdenv.mkDerivation rec {
name = "libtxc_dxtn-${version}";
src = fetchurl {
url = "http://people.freedesktop.org/~cbrill/libtxc_dxtn/${name}.tar.bz2";
sha256 = "0q5fjaknl7s0z206dd8nzk9bdh8g4p23bz7784zrllnarl90saa5";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ mesa ];
meta = {
homepage = http://dri.freedesktop.org/wiki/S3TC;
repositories.git = git://people.freedesktop.org/~mareko/libtxc_dxtn;
platforms = stdenv.lib.platforms.unix;
};
}