diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-02-06 22:25:22 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-02-06 23:17:57 +0000 |
commit | 5a2ca9e666064a56ff59d7afb7a05588d47bb953 (patch) | |
tree | 7e011d3729d653859c9c09faacdc734ba463cfe7 /pkgs/applications/misc/cli-visualizer | |
parent | 36242a14a25bc025642073bb444494aa1f1c1284 (diff) |
cli-visualizer: init at 2016-02-06
changes by @globin: * added pulseaudio support * 06-02-2016 -> 2016-02-06 to ensure correct version sorting * cli_visualizer -> cli-visualizer closes #12853 Signed-off-by: Robin Gloster <mail@glob.in>
Diffstat (limited to 'pkgs/applications/misc/cli-visualizer')
-rw-r--r-- | pkgs/applications/misc/cli-visualizer/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/misc/cli-visualizer/default.nix b/pkgs/applications/misc/cli-visualizer/default.nix new file mode 100644 index 0000000000000..e24c99216ea20 --- /dev/null +++ b/pkgs/applications/misc/cli-visualizer/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchgit, fftw, ncurses, libpulseaudio }: + +stdenv.mkDerivation rec { + version = "2016-06-02"; + name = "cli-visualizer-${version}"; + + src = fetchgit { + url = "https://github.com/dpayne/cli-visualizer.git"; + rev = "bc0104eb57e7a0b3821510bc8f93cf5d1154fa8e"; + sha256 = "7b0c69a16b4854149522e2d0ec544412fb368cecba771d1e9481330ed86c8cb7"; + }; + + buildInputs = [ fftw ncurses libpulseaudio ]; + + buildFlags = [ "ENABLE_PULSE=1" ]; + + installPhase = '' + mkdir -p $out/bin + cp build/vis $out/bin/vis + ''; + + meta = { + homepage = "https://github.com/dpayne/cli-visualizer"; + description = "CLI based audio visualizer"; + license = stdenv.lib.licenses.mit; + maintainers = [ stdenv.lib.maintainers.matthiasbeyer ]; + platforms = with stdenv.lib.platforms; linux; + }; +} |