1 { lib, stdenv, fetchFromGitHub, lv2, pkg-config, libGLU, libGL, cairo, pango, libjack2 }:
6 robtkVersion = "80a2585253a861c81f0bfb7e4579c75f5c73af89";
7 robtkName = "robtk-${robtkVersion}";
9 src = fetchFromGitHub {
13 sha256 = "1r6g29yqbdqgkh01x6d3nvmvc58rk2dp94fd0qyyizq37a1qplj1";
16 robtkSrc = fetchFromGitHub {
20 sha256 = "0gk16nrvnrffqqw0yd015kja9wkgbzvb648bl1pagriabhznhfxl";
23 stdenv.mkDerivation rec {
27 srcs = [ src robtkSrc ];
28 sourceRoot = src.name;
30 nativeBuildInputs = [ pkg-config ];
31 buildInputs = [ lv2 pango cairo libjack2 libGLU libGL ];
33 postUnpack = "chmod u+w -R ${robtkName}-src; mv ${robtkName}-src/* ${sourceRoot}/robtk";
34 sisco_VERSION = version;
35 preConfigure = "makeFlagsArray=(PREFIX=$out)";
38 description = "Simple audio oscilloscope with variable time scale, triggering, cursors and numeric readout in LV2 plugin format";
39 homepage = "http://x42.github.io/sisco.lv2/";
40 license = licenses.gpl2;
42 platforms = platforms.linux;