From 18f1842fe0e6c5392fde629b64806efc316e14d6 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 3 Sep 2015 16:56:17 -0700 Subject: [PATCH] libsoundio: init at 1.0.1 --- .../libraries/libsoundio/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/libsoundio/default.nix diff --git a/pkgs/development/libraries/libsoundio/default.nix b/pkgs/development/libraries/libsoundio/default.nix new file mode 100644 index 000000000000..43c6a1b3cebd --- /dev/null +++ b/pkgs/development/libraries/libsoundio/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchFromGitHub, cmake, alsaLib, libjack2-git, libpulseaudio }: + +stdenv.mkDerivation rec { + version = "1.0.1"; + name = "libsoundio-${version}"; + + src = fetchFromGitHub { + owner = "andrewrk"; + repo = "libsoundio"; + rev = "${version}"; + sha256 = "1nlsn517rqvhc1scfw96ky7ja6dj2l96j4qjrphb5z63zxxi06pf"; + }; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6ef9ab44c377..f81d8993ff26 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6992,6 +6992,8 @@ let libserialport = callPackage ../development/libraries/libserialport { }; + libsoundio = callPackage ../development/libraries/libsoundio { }; + libgtop = callPackage ../development/libraries/libgtop {}; libLAS = callPackage ../development/libraries/libLAS { };