diff --git a/pkgs/os-specific/linux/ffado/default.nix b/pkgs/os-specific/linux/ffado/default.nix new file mode 100644 index 000000000000..16d88aacf3db --- /dev/null +++ b/pkgs/os-specific/linux/ffado/default.nix @@ -0,0 +1,30 @@ +{stdenv, fetchsvn, dbus_glib, dbus_libs, expat, glibmm, jackaudio +, libconfig, libiec61883, libraw1394, libxmlxx, pkgconfig, pyqt4, python +, pythonDBus, qt4, scons }: + +stdenv.mkDerivation rec { + name = "libffado-svn"; + + src = fetchsvn { + url = "http://subversion.ffado.org/ffado/trunk/libffado"; + rev = "2117"; + sha256 = "0awv1ccvxxxs5ycd5v3xn79flr79ia8290wmraf0646avihkcpvj"; + }; + + buildInputs = + [ dbus_glib dbus_libs expat glibmm jackaudio libconfig libiec61883 + libraw1394 libxmlxx pkgconfig pyqt4 python pythonDBus qt4 scons + ]; + + buildPhase = "scons"; + installPhase = '' + scons PREFIX=$out LIBDIR=$out/lib SHAREDIR=$out/share/libffado install + ''; + + meta = with stdenv.lib; { + homepage = http://www.ffado.org; + description = "Firewire audio drivers"; + license = licenses.gpl3; + maintainers = [ maintainers.goibhniu ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f8be12222c34..6ebb0782ff76 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5421,6 +5421,8 @@ let eject = callPackage ../os-specific/linux/eject { }; + ffado = callPackage ../os-specific/linux/ffado { }; + fbterm = builderDefsPackage (import ../os-specific/linux/fbterm) { inherit fontconfig gpm freetype pkgconfig ncurses; };