2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, lv2, pkg-config, libGLU, libGL, cairo, pango, libjack2 }:
|
2016-12-13 09:44:09 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "0.7.0";
|
|
|
|
|
|
|
|
robtkVersion = "80a2585253a861c81f0bfb7e4579c75f5c73af89";
|
|
|
|
robtkName = "robtk-${robtkVersion}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "x42";
|
|
|
|
repo = "sisco.lv2";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1r6g29yqbdqgkh01x6d3nvmvc58rk2dp94fd0qyyizq37a1qplj1";
|
|
|
|
};
|
|
|
|
|
|
|
|
robtkSrc = fetchFromGitHub {
|
|
|
|
owner = "x42";
|
|
|
|
repo = "robtk";
|
|
|
|
rev = robtkVersion;
|
|
|
|
sha256 = "0gk16nrvnrffqqw0yd015kja9wkgbzvb648bl1pagriabhznhfxl";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
2022-03-22 16:57:23 +00:00
|
|
|
pname = "sisco.lv2";
|
|
|
|
inherit version;
|
2016-12-13 09:44:09 +00:00
|
|
|
|
|
|
|
srcs = [ src robtkSrc ];
|
2017-06-26 18:10:37 +00:00
|
|
|
sourceRoot = src.name;
|
2016-12-13 09:44:09 +00:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-11-10 16:44:34 +00:00
|
|
|
buildInputs = [ lv2 pango cairo libjack2 libGLU libGL ];
|
2016-12-13 09:44:09 +00:00
|
|
|
|
|
|
|
postUnpack = "chmod u+w -R ${robtkName}-src; mv ${robtkName}-src/* ${sourceRoot}/robtk";
|
|
|
|
sisco_VERSION = version;
|
|
|
|
preConfigure = "makeFlagsArray=(PREFIX=$out)";
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-12-13 09:44:09 +00:00
|
|
|
description = "Simple audio oscilloscope with variable time scale, triggering, cursors and numeric readout in LV2 plugin format";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://x42.github.io/sisco.lv2/";
|
2016-12-13 09:44:09 +00:00
|
|
|
license = licenses.gpl2;
|
2022-12-12 12:32:09 +00:00
|
|
|
maintainers = [ ];
|
2016-12-13 09:44:09 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|