Merge pull request #12964 from sleexyz/spectrojack

spectrojack: init at 0.4
This commit is contained in:
Arseniy Seroka 2016-02-14 22:34:14 +03:00
commit 5a63bf15e0
3 changed files with 33 additions and 0 deletions

View File

@ -291,6 +291,7 @@
sjmackenzie = "Stewart Mackenzie <setori88@gmail.com>";
sjourdois = "Stéphane kwisatz Jourdois <sjourdois@gmail.com>";
skeidel = "Sven Keidel <svenkeidel@gmail.com>";
sleexyz = "Sean Lee <freshdried@gmail.com>";
smironov = "Sergey Mironov <ierton@gmail.com>";
spacefrogg = "Michael Raitza <spacefrogg-nixos@meterriblecrew.net>";
spencerjanssen = "Spencer Janssen <spencerjanssen@gmail.com>";

View File

@ -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;
};
}

View File

@ -15725,6 +15725,8 @@ let
refind = callPackage ../tools/bootloaders/refind { };
spectrojack = callPackage ../applications/audio/spectrojack { };
xlockmore = callPackage ../misc/screensavers/xlockmore { };
xtrlock-pam = callPackage ../misc/screensavers/xtrlock-pam { };