1{ lib, stdenv, fetchFromGitHub, cmake, openal, libvorbis, opusfile, libsndfile }:
2
3stdenv.mkDerivation rec {
4 pname = "alure2";
5 version = "unstable-2020-02-06";
6
7 src = fetchFromGitHub {
8 owner = "kcat";
9 repo = "alure";
10 rev = "50f92fe528e77da82197fd947d1cf9b0a82a0c7d";
11 sha256 = "1gmc1yfhwaj6lik0vn7zv8y23i05f4rw25v2jg34n856jcs02svx";
12 };
13
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ openal libvorbis opusfile libsndfile ];
16
17 meta = with lib; {
18 description = "A utility library for OpenAL, providing a C++ API and managing common tasks that include file loading, caching, and streaming";
19 homepage = "https://github.com/kcat/alure";
20 license = licenses.zlib;
21 platforms = platforms.linux;
22 maintainers = with maintainers; [ McSinyx ];
23 };
24}