summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorBart Brouns <bart@magnetophon.nl>2019-11-24 12:45:48 +0100
committerJon <jonringer@users.noreply.github.com>2020-01-22 00:39:57 -0800
commit376d7878c2391e0a2e9be3c411a5eeaa9d7e0e52 (patch)
tree2bea01e81ac52601b1d96becfdbe1a1b3d14ff21 /pkgs/applications/audio
parentd24a439d92cdb812f83e9f45b3e08465ce051596 (diff)
downloadnixpkgs-376d7878c2391e0a2e9be3c411a5eeaa9d7e0e52.tar
nixpkgs-376d7878c2391e0a2e9be3c411a5eeaa9d7e0e52.tar.gz
nixpkgs-376d7878c2391e0a2e9be3c411a5eeaa9d7e0e52.tar.bz2
nixpkgs-376d7878c2391e0a2e9be3c411a5eeaa9d7e0e52.tar.lz
nixpkgs-376d7878c2391e0a2e9be3c411a5eeaa9d7e0e52.tar.xz
nixpkgs-376d7878c2391e0a2e9be3c411a5eeaa9d7e0e52.tar.zst
nixpkgs-376d7878c2391e0a2e9be3c411a5eeaa9d7e0e52.zip
string-machine: init at unstable-2020-01-20
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/string-machine/default.nix36
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/audio/string-machine/default.nix b/pkgs/applications/audio/string-machine/default.nix
new file mode 100644
index 00000000000..67053baa35f
--- /dev/null
+++ b/pkgs/applications/audio/string-machine/default.nix
@@ -0,0 +1,36 @@
+{ stdenv, fetchFromGitHub, boost, cairo, lv2, pkg-config }:
+
+stdenv.mkDerivation rec {
+  pname = "string-machine";
+  version = "unstable-2020-01-20";
+
+  src = fetchFromGitHub {
+    owner = "jpcima";
+    repo = pname;
+    rev = "188082dd0beb9a3c341035604841c53675fe66c4";
+    sha256 = "0l9xrzp3f0hk6h320qh250a0n1nbd6qhjmab21sjmrlb4ngy672v";
+    fetchSubmodules = true;
+  };
+
+  postPatch = ''
+    patchShebangs ./dpf/utils/generate-ttl.sh
+  '';
+
+  nativeBuildInputs = [ pkg-config ];
+
+  buildInputs = [
+    boost cairo lv2
+  ];
+
+  makeFlags = [
+    "PREFIX=$(out)"
+  ];
+
+  meta = with stdenv.lib; {
+    homepage = "https://github.com/jpcima/string-machine";
+    description = "Digital model of electronic string ensemble instrument";
+    maintainers = [ maintainers.magnetophon ];
+    platforms = intersectLists platforms.linux platforms.x86;
+    license = licenses.boost;
+  };
+}