mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
531e4b80c9
Only acts on one-line dependency lists.
25 lines
706 B
Nix
25 lines
706 B
Nix
{ stdenv, fetchurl, autoreconfHook, mesa }:
|
|
|
|
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";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ mesa ];
|
|
|
|
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 ];
|
|
};
|
|
}
|