summary refs log tree commit diff
path: root/pkgs/development/libraries/audio
diff options
context:
space:
mode:
authorCillian de Róiste <goibhniu@fsfe.org>2014-03-09 22:12:17 +0100
committerCillian de Róiste <goibhniu@fsfe.org>2014-03-09 22:14:56 +0100
commit658d8593eabb7272521983ae842a95b8d6439935 (patch)
tree334f652ed25e88c8e80d064d1b55e68ef41d675b /pkgs/development/libraries/audio
parentf911d51243b35afad0d4ab0a7ee37296346869c1 (diff)
downloadnixpkgs-658d8593eabb7272521983ae842a95b8d6439935.tar
nixpkgs-658d8593eabb7272521983ae842a95b8d6439935.tar.gz
nixpkgs-658d8593eabb7272521983ae842a95b8d6439935.tar.bz2
nixpkgs-658d8593eabb7272521983ae842a95b8d6439935.tar.lz
nixpkgs-658d8593eabb7272521983ae842a95b8d6439935.tar.xz
nixpkgs-658d8593eabb7272521983ae842a95b8d6439935.tar.zst
nixpkgs-658d8593eabb7272521983ae842a95b8d6439935.zip
add lvtk: A set C++ wrappers around the LV2 C API
Diffstat (limited to 'pkgs/development/libraries/audio')
-rw-r--r--pkgs/development/libraries/audio/lvtk/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/libraries/audio/lvtk/default.nix b/pkgs/development/libraries/audio/lvtk/default.nix
new file mode 100644
index 00000000000..0abe3f0376b
--- /dev/null
+++ b/pkgs/development/libraries/audio/lvtk/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchurl, boost, gtkmm, lv2, pkgconfig, python }:
+
+stdenv.mkDerivation rec {
+  name = "lvtk-${version}";
+  version = "1.1.1";
+
+  src = fetchurl {
+    url = "http://lvtoolkit.org/code/browse/lvtk/snapshot/${name}.tar.gz";
+    sha256 = "161l4n3a2kar2r5mn3zz6dbj1p2s6361ainrka3s74518z7yf42w";
+  };
+
+  buildInputs = [ boost gtkmm lv2 pkgconfig python ];
+
+  configurePhase = ''
+    python waf configure --prefix=$out --boost-includes=${boost}/include
+  '';
+
+  buildPhase = "python waf";
+
+  installPhase = "python waf install";
+
+  meta = with stdenv.lib; {
+    description = "A set C++ wrappers around the LV2 C API";
+    homepage = http://lvtoolkit.org;
+    license = licenses.gpl3;
+    maintainers = [ maintainers.goibhniu ];
+    platforms = platforms.linux;
+  };
+}