From 9eac665cd2d219194c9f5a5f9ec46822dd168d3b Mon Sep 17 00:00:00 2001 From: Alexander Kahl Date: Tue, 13 Dec 2016 10:44:09 +0100 Subject: [PATCH] sisco.lv2: init at 0.7.0 (#20868) * sisco.lv2: init at 0.7.0 Also added maintainer `e-user` * Use fetchFromGitHub and adapt accordingly * Use `version` instead of `src.rev` in name --- lib/maintainers.nix | 1 + pkgs/applications/audio/sisco.lv2/default.nix | 43 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 46 insertions(+) create mode 100644 pkgs/applications/audio/sisco.lv2/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 282588569170..ea75059b54b4 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -132,6 +132,7 @@ drets = "Dmytro Rets "; drewkett = "Andrew Burkett "; dtzWill = "Will Dietz "; + e-user = "Alexander Kahl "; ebzzry = "Rommel Martinez "; ederoyd46 = "Matthew Brown "; eduarrrd = "Eduard Bachmakov "; diff --git a/pkgs/applications/audio/sisco.lv2/default.nix b/pkgs/applications/audio/sisco.lv2/default.nix new file mode 100644 index 000000000000..d429d5452345 --- /dev/null +++ b/pkgs/applications/audio/sisco.lv2/default.nix @@ -0,0 +1,43 @@ +{ stdenv, fetchFromGitHub, lv2, pkgconfig, mesa, cairo, pango, libjack2 }: + +let + name = "sisco.lv2-${version}"; + 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 { + inherit name; + + srcs = [ src robtkSrc ]; + sourceRoot = "sisco.lv2-${src.rev}-src"; + + buildInputs = [ pkgconfig lv2 pango cairo libjack2 mesa ]; + + postUnpack = "chmod u+w -R ${robtkName}-src; mv ${robtkName}-src/* ${sourceRoot}/robtk"; + sisco_VERSION = version; + preConfigure = "makeFlagsArray=(PREFIX=$out)"; + + meta = with stdenv.lib; { + description = "Simple audio oscilloscope with variable time scale, triggering, cursors and numeric readout in LV2 plugin format"; + homepage = http://x42.github.io/sisco.lv2/; + license = licenses.gpl2; + maintainers = [ maintainers.e-user ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bb6c118d1f9b..3992f2382964 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3696,6 +3696,8 @@ in sipsak = callPackage ../tools/networking/sipsak { }; + sisco.lv2 = callPackage ../applications/audio/sisco.lv2 { }; + skippy-xd = callPackage ../tools/X11/skippy-xd {}; sks = callPackage ../servers/sks { };