summary refs log tree commit diff
path: root/pkgs/development/libraries/libsoundio/default.nix
blob: 9f9f89ec8125cde7666aef0c1a8a2d9d8e3fc8c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchFromGitHub, cmake, alsaLib, libjack2-git, libpulseaudio }:

stdenv.mkDerivation rec {
  version = "1.0.3";
  name = "libsoundio-${version}";

  src = fetchFromGitHub {
    owner = "andrewrk";
    repo = "libsoundio";
    rev = "${version}";
    sha256 = "0xnv0rsan57i07ky823jczylbcpbzjk6j06fw9x0md65arcgcqfy";
  };

  buildInputs = [ cmake alsaLib libjack2-git libpulseaudio ];

  meta = with stdenv.lib; {
    description = "Cross platform audio input and output";
    homepage = http://libsound.io/;
    license = licenses.mit;
    platforms = platforms.unix;
    maintainers = [ maintainers.andrewrk ];
  };
}