From 658d8593eabb7272521983ae842a95b8d6439935 Mon Sep 17 00:00:00 2001 From: Cillian de RĂ³iste Date: Sun, 9 Mar 2014 22:12:17 +0100 Subject: add lvtk: A set C++ wrappers around the LV2 C API --- pkgs/development/libraries/audio/lvtk/default.nix | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/development/libraries/audio/lvtk/default.nix (limited to 'pkgs/development/libraries/audio') 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; + }; +} -- cgit 1.4.1