From 06ea94a4712b7c13a6f440982bb580a77e2d2f0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 11 Feb 2008 21:45:52 +0000 Subject: [PATCH] Add Aumix, an audio mixer. svn path=/nixpkgs/trunk/; revision=10627 --- pkgs/applications/audio/aumix/default.nix | 24 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 6 ++++++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/applications/audio/aumix/default.nix diff --git a/pkgs/applications/audio/aumix/default.nix b/pkgs/applications/audio/aumix/default.nix new file mode 100644 index 000000000000..57c690fee9bc --- /dev/null +++ b/pkgs/applications/audio/aumix/default.nix @@ -0,0 +1,24 @@ +{stdenv, fetchurl, gettext, ncurses +, gtkGUI ? false +, pkgconfig ? null +, gtk ? null}: + +assert gtkGUI -> pkgconfig != null && gtk != null; + +stdenv.mkDerivation { + name = "aumix-2.8"; + src = fetchurl { + url = http://www.jpj.net/~trevor/aumix/aumix-2.8.tar.bz2; + sha256 = "636eef7f400c2f3df489c0d2fa21507e88692113561e75a40a26c52bc422d7fc"; + }; + + buildInputs = [ gettext ncurses ] + ++ (if gtkGUI then [pkgconfig gtk] else []); + + meta = { + description = ''Aumix adjusts an audio mixer from X, the console, + a terminal, the command line or a script.''; + homepage = http://www.jpj.net/~trevor/aumix.html; + license = "GPL"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e9d8d5d32022..5900d3201561 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4323,6 +4323,12 @@ rec { inherit builderDefs stringsWithDeps; }; + aumix = import ../applications/audio/aumix { + inherit fetchurl stdenv ncurses pkgconfig gettext; + inherit (gtkLibs) gtk; + gtkGUI = false; + }; + batik = import ../applications/graphics/batik { inherit fetchurl stdenv unzip; };