diff options
author | Sean Lee <freshdried@gmail.com> | 2016-02-12 16:12:41 -0500 |
---|---|---|
committer | Sean Lee <freshdried@gmail.com> | 2016-02-13 11:19:53 -0500 |
commit | 47282a0ee64630695d7f89051e9aed374a1acebf (patch) | |
tree | 28df50605b8918ac8a24a5883be46c49c1733bf2 /pkgs/applications/audio/spectrojack | |
parent | 77f8f35d57618c1ba456d968524f2fb2c3448295 (diff) | |
download | nixlib-47282a0ee64630695d7f89051e9aed374a1acebf.tar nixlib-47282a0ee64630695d7f89051e9aed374a1acebf.tar.gz nixlib-47282a0ee64630695d7f89051e9aed374a1acebf.tar.bz2 nixlib-47282a0ee64630695d7f89051e9aed374a1acebf.tar.lz nixlib-47282a0ee64630695d7f89051e9aed374a1acebf.tar.xz nixlib-47282a0ee64630695d7f89051e9aed374a1acebf.tar.zst nixlib-47282a0ee64630695d7f89051e9aed374a1acebf.zip |
spectrojack: init at 0.4
spectrojack - moved in all-packages spectrojack: init at 0.4 updated spectrojack: init at 0.4
Diffstat (limited to 'pkgs/applications/audio/spectrojack')
-rw-r--r-- | pkgs/applications/audio/spectrojack/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/audio/spectrojack/default.nix b/pkgs/applications/audio/spectrojack/default.nix new file mode 100644 index 000000000000..83848671a3e5 --- /dev/null +++ b/pkgs/applications/audio/spectrojack/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchurl, pkgconfig, libjack2, fftwFloat, gtk2 }: + +stdenv.mkDerivation rec { + name = "spectrojack-${version}"; + version = "0.4"; + + src = fetchurl { + url = "http://sed.free.fr/spectrojack/${name}.tar.gz"; + sha256 = "0p5aa55hnazv5djw0431mza068h7mjkb9pnglxfpqkx5z0czisdx"; + }; + buildInputs = [ pkgconfig libjack2 fftwFloat gtk2 ]; + configurePhase= '' + sed -i 's/.*home.*/#&/' ./Makefile + substituteInPlace ./Makefile \ + --replace "/usr/share" "$out/usr/share" + ''; + installPhase= '' + install -Dm755 spectrojack $out/bin/spectrojack + install -Dm644 spectrojack_icon.svg $out/usr/share/spectrojack/icon.svg + install -Dm644 -t $out/usr/share/spectrojack/colormaps colormaps/* + ''; + + meta = { + description = "A little spectrogram/audiogram/sonogram/whatever for JACK"; + homepage = http://sed.free.fr/spectrojack; + license = stdenv.lib.licenses.publicDomain; + maintainers = with stdenv.lib.maintainers; [ sleexyz ]; + platforms = with stdenv.lib.platforms; linux; + }; +} |