about summary refs log tree commit diff
path: root/pkgs/applications/audio/airwindows-lv2
diff options
context:
space:
mode:
authorBart Brouns <bart@magnetophon.nl>2022-04-27 19:04:09 +0200
committerBart Brouns <bart@magnetophon.nl>2022-04-27 19:05:13 +0200
commit0c494de2fd173be1abcf6ce8356221fb16a43a07 (patch)
tree022507f66a402cab1f8e12175d3f858c9a3c0151 /pkgs/applications/audio/airwindows-lv2
parent3ae05d648e3d0e9013e528d82bdc0b39f8742c4d (diff)
airwindows-lv2: init at 1.0
Diffstat (limited to 'pkgs/applications/audio/airwindows-lv2')
-rw-r--r--pkgs/applications/audio/airwindows-lv2/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/audio/airwindows-lv2/default.nix b/pkgs/applications/audio/airwindows-lv2/default.nix
new file mode 100644
index 0000000000000..c3cc1a21ffc58
--- /dev/null
+++ b/pkgs/applications/audio/airwindows-lv2/default.nix
@@ -0,0 +1,25 @@
+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, lv2 }:
+
+stdenv.mkDerivation rec {
+  pname = "airwindows-lv2";
+  version = "1.0";
+  src = fetchFromGitHub {
+    owner = "hannesbraun";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-xokV4Af0evdo73D9JObzAmY1wD0aUyXiI0Z7BUN0m+M=";
+  };
+
+  nativeBuildInputs = [ cmake pkg-config ];
+  buildInputs = [ lv2 ];
+
+  cmakeFlags = [ "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}/lib/lv2" ];
+
+  meta = with lib; {
+    description = "Airwindows plugins (ported to LV2)";
+    homepage = "https://github.com/hannesbraun/airwindows-lv2";
+    license = licenses.mit;
+    maintainers = [ maintainers.magnetophon ];
+    platforms = platforms.unix;
+  };
+}