summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorMichal Rus <m@michalrus.com>2020-05-25 23:13:39 +0200
committerMichal Rus <m@michalrus.com>2020-05-25 23:13:39 +0200
commit2e0e62bf9835e7ab4653c7f47e59c26662b10cb1 (patch)
tree951704d0860f35eb9a51eb5e870946aa78aa477a /pkgs/applications
parent25e8015fed29a40d51dcddaae209aa531da04119 (diff)
downloadnixpkgs-2e0e62bf9835e7ab4653c7f47e59c26662b10cb1.tar
nixpkgs-2e0e62bf9835e7ab4653c7f47e59c26662b10cb1.tar.gz
nixpkgs-2e0e62bf9835e7ab4653c7f47e59c26662b10cb1.tar.bz2
nixpkgs-2e0e62bf9835e7ab4653c7f47e59c26662b10cb1.tar.lz
nixpkgs-2e0e62bf9835e7ab4653c7f47e59c26662b10cb1.tar.xz
nixpkgs-2e0e62bf9835e7ab4653c7f47e59c26662b10cb1.tar.zst
nixpkgs-2e0e62bf9835e7ab4653c7f47e59c26662b10cb1.zip
vocproc: init at 0.2.1
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/audio/lv2-cpp-tools/default.nix28
-rw-r--r--pkgs/applications/audio/vocproc/default.nix27
2 files changed, 55 insertions, 0 deletions
diff --git a/pkgs/applications/audio/lv2-cpp-tools/default.nix b/pkgs/applications/audio/lv2-cpp-tools/default.nix
new file mode 100644
index 00000000000..d98135fb014
--- /dev/null
+++ b/pkgs/applications/audio/lv2-cpp-tools/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchzip, pkgconfig, lv2, gtkmm2, boost }:
+
+stdenv.mkDerivation rec {
+  pname = "lv2-cpp-tools";
+  version = "1.0.5";
+
+  src = fetchzip {
+    url = "http://deb.debian.org/debian/pool/main/l/lv2-c++-tools/lv2-c++-tools_${version}.orig.tar.bz2";
+    sha256 = "039bq7d7s2bhfcnlsfq0mqxr9a9iqwg5bwcpxfi24c6yl6krydsi";
+  };
+
+  preConfigure = ''
+    sed -r 's,/bin/bash,${stdenv.shell},g' -i ./configure
+    sed -r 's,/sbin/ldconfig,ldconfig,g' -i ./Makefile.template
+  '';
+
+  nativeBuildInputs = [ pkgconfig ];
+
+  buildInputs = [ lv2 gtkmm2 boost ];
+
+  meta = with stdenv.lib; {
+    homepage = "http://ll-plugins.nongnu.org/hacking.html";
+    description = "Tools and libraries that may come in handy when writing LV2 plugins in C++";
+    license = licenses.gpl3;
+    maintainers = [ maintainers.michalrus ];
+    platforms = platforms.linux;
+  };
+}
diff --git a/pkgs/applications/audio/vocproc/default.nix b/pkgs/applications/audio/vocproc/default.nix
new file mode 100644
index 00000000000..ddaa5b790e2
--- /dev/null
+++ b/pkgs/applications/audio/vocproc/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchzip, pkgconfig, lvtk, lv2, fftw, lv2-cpp-tools, gtkmm2 }:
+
+stdenv.mkDerivation rec {
+  pname = "vocproc";
+  version = "0.2.1";
+
+  src = fetchzip {
+    url = "https://hyperglitch.com/files/vocproc/${pname}-${version}.default.tar.gz";
+    sha256 = "07a1scyz14mg2jdbw6fpv4qg91zsw61qqii64n9qbnny9d5pn8n2";
+  };
+
+  nativeBuildInputs = [ pkgconfig ];
+
+  buildInputs = [ lv2 fftw lv2-cpp-tools gtkmm2 ];
+
+  makeFlags = [
+    "INSTALL_DIR=$(out)/lib/lv2"
+  ];
+
+  meta = with stdenv.lib; {
+    homepage = "https://hyperglitch.com/dev/VocProc";
+    description = "An LV2 plugin for pitch shifting (with or without formant correction), vocoding, automatic pitch correction and harmonizing of singing voice (harmonizer)";
+    license = licenses.gpl2;
+    maintainers = [ maintainers.michalrus ];
+    platforms = platforms.linux;
+  };
+}