summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-06-23 18:04:30 +0000
committerGitHub <noreply@github.com>2021-06-23 18:04:30 +0000
commitb68a0d2f5e90ebc827148e2827765376029fde95 (patch)
tree18926f904d05c39ad37a92e9dd34cf8c6d7dcf9c /pkgs/applications/audio
parent8f424621d03db5cfaa89819edc4a910bc7d84b13 (diff)
parent920113a6e5e34e317c910b8477dd6cde88fcd202 (diff)
downloadnixpkgs-b68a0d2f5e90ebc827148e2827765376029fde95.tar
nixpkgs-b68a0d2f5e90ebc827148e2827765376029fde95.tar.gz
nixpkgs-b68a0d2f5e90ebc827148e2827765376029fde95.tar.bz2
nixpkgs-b68a0d2f5e90ebc827148e2827765376029fde95.tar.lz
nixpkgs-b68a0d2f5e90ebc827148e2827765376029fde95.tar.xz
nixpkgs-b68a0d2f5e90ebc827148e2827765376029fde95.tar.zst
nixpkgs-b68a0d2f5e90ebc827148e2827765376029fde95.zip
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/tonelib-gfx/default.nix60
1 files changed, 60 insertions, 0 deletions
diff --git a/pkgs/applications/audio/tonelib-gfx/default.nix b/pkgs/applications/audio/tonelib-gfx/default.nix
new file mode 100644
index 00000000000..137014508a3
--- /dev/null
+++ b/pkgs/applications/audio/tonelib-gfx/default.nix
@@ -0,0 +1,60 @@
+{ stdenv
+, dpkg
+, lib
+, autoPatchelfHook
+, fetchurl
+, gtk3
+, glib
+, desktop-file-utils
+, alsa-lib
+, libjack2
+, harfbuzz
+, fribidi
+, pango
+, freetype
+}:
+
+stdenv.mkDerivation rec {
+  pname = "tonelib-gfx";
+  version = "4.6.6";
+
+  src = fetchurl {
+    url = "https://www.tonelib.net/download/0509/ToneLib-GFX-amd64.deb";
+    sha256 = "sha256-wdX3SQSr0IZHsTUl+1Y0iETme3gTyryexhZ/9XHkGeo=";
+  };
+
+  buildInputs = [
+    dpkg
+    gtk3
+    glib
+    desktop-file-utils
+    alsa-lib
+    libjack2
+    harfbuzz
+    fribidi
+    pango
+    freetype
+  ];
+
+  nativeBuildInputs = [
+    autoPatchelfHook
+  ];
+
+  unpackPhase = ''
+    mkdir -p $TMP/ $out/
+    dpkg -x $src $TMP
+  '';
+
+  installPhase = ''
+    cp -R $TMP/usr/* $out/
+    mv $out/bin/ToneLib-GFX $out/bin/tonelib-gfx
+  '';
+
+  meta = with lib; {
+    description = "Tonelib GFX is an amp and effects modeling software for electric guitar and bass.";
+    homepage = "https://tonelib.net/";
+    license = licenses.unfree;
+    maintainers = with maintainers; [ dan4ik605743 ];
+    platforms = platforms.linux;
+  };
+}