summary refs log tree commit diff
path: root/pkgs/applications/audio/bshapr
diff options
context:
space:
mode:
authorBart Brouns <bart@magnetophon.nl>2019-10-29 19:32:16 +0100
committerBart Brouns <bart@magnetophon.nl>2019-10-31 02:18:42 +0100
commit067a56333177f3024191001a6318085da1831194 (patch)
treec46ff705d59d6d0bc8ee387166da366937c5a9f5 /pkgs/applications/audio/bshapr
parentcd6974fd241331fe74bd961121845ed23a96f113 (diff)
bshapr: init at v0.4
Diffstat (limited to 'pkgs/applications/audio/bshapr')
-rw-r--r--pkgs/applications/audio/bshapr/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/audio/bshapr/default.nix b/pkgs/applications/audio/bshapr/default.nix
new file mode 100644
index 0000000000000..1d49ca1fa4fed
--- /dev/null
+++ b/pkgs/applications/audio/bshapr/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchFromGitHub, xorg, cairo, lv2, pkgconfig }:
+
+stdenv.mkDerivation rec {
+  pname = "BShapr";
+  version = "0.4";
+
+  src = fetchFromGitHub {
+    owner = "sjaehn";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "02b4wdfhr9y7z2k6ls086gv3vz4sjf7b1k8ryh573bzd8nr4896v";
+  };
+
+  nativeBuildInputs = [ pkgconfig ];
+  buildInputs = [
+    xorg.libX11 cairo lv2
+  ];
+
+  installFlags = [ "PREFIX=$(out)" ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/sjaehn/BShapr;
+    description = "Beat / envelope shaper LV2 plugin";
+    maintainers = [ maintainers.magnetophon ];
+    platforms = platforms.linux;
+    license = licenses.gpl3;
+  };
+}