2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, SDL, libjack2, libGLU, libGL, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "jack_oscrolloscope";
|
|
|
|
version = "0.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1pl55in0sj7h5r06n1v91im7d18pplvhbjhjm1fdl39zwnyxiash";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ SDL libjack2 libGLU libGL ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mv jack_oscrolloscope $out/bin/
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A simple waveform viewer for JACK";
|
|
|
|
homepage = "http://das.nasophon.de/jack_oscrolloscope";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2021-01-17 00:15:33 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|