2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, openal, libvorbis, opusfile, libsndfile }:
|
2019-12-29 10:39:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "alure2";
|
2020-02-08 08:55:30 +00:00
|
|
|
version = "unstable-2020-02-06";
|
2019-12-29 10:39:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kcat";
|
|
|
|
repo = "alure";
|
2020-02-08 08:55:30 +00:00
|
|
|
rev = "50f92fe528e77da82197fd947d1cf9b0a82a0c7d";
|
|
|
|
sha256 = "1gmc1yfhwaj6lik0vn7zv8y23i05f4rw25v2jg34n856jcs02svx";
|
2019-12-29 10:39:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ openal libvorbis opusfile libsndfile ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-12-29 10:39:52 +00:00
|
|
|
description = "A utility library for OpenAL, providing a C++ API and managing common tasks that include file loading, caching, and streaming";
|
|
|
|
homepage = "https://github.com/kcat/alure";
|
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ McSinyx ];
|
|
|
|
};
|
|
|
|
}
|