diff options
author | mitchmindtree <mail@mitchellnordine.com> | 2022-09-25 21:59:39 +1000 |
---|---|---|
committer | mitchmindtree <mail@mitchellnordine.com> | 2023-07-02 18:48:13 +1000 |
commit | bc6bea7274bab0cecef383f3b085a8e44c90aceb (patch) | |
tree | 39b6e6cda02988d9538764e2fead8a81cab480e2 /pkgs/applications/audio/samplebrain | |
parent | 79d3ca08920364759c63fd3eb562e99c0c17044a (diff) | |
download | nixlib-bc6bea7274bab0cecef383f3b085a8e44c90aceb.tar nixlib-bc6bea7274bab0cecef383f3b085a8e44c90aceb.tar.gz nixlib-bc6bea7274bab0cecef383f3b085a8e44c90aceb.tar.bz2 nixlib-bc6bea7274bab0cecef383f3b085a8e44c90aceb.tar.lz nixlib-bc6bea7274bab0cecef383f3b085a8e44c90aceb.tar.xz nixlib-bc6bea7274bab0cecef383f3b085a8e44c90aceb.tar.zst nixlib-bc6bea7274bab0cecef383f3b085a8e44c90aceb.zip |
samplebrain: init at 0.18.5
A custom sample mashing app designed by Aphex Twin, created by Dave Griffiths. Recently shared by Warp Records: https://twitter.com/WarpRecords/status/1573716350794698756 Can confirm it's good fun to play with :)
Diffstat (limited to 'pkgs/applications/audio/samplebrain')
-rw-r--r-- | pkgs/applications/audio/samplebrain/default.nix | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/pkgs/applications/audio/samplebrain/default.nix b/pkgs/applications/audio/samplebrain/default.nix new file mode 100644 index 000000000000..942e7bccc13c --- /dev/null +++ b/pkgs/applications/audio/samplebrain/default.nix @@ -0,0 +1,62 @@ +{ lib +, stdenv +, fetchFromGitLab +, fftw +, liblo +, libsndfile +, makeDesktopItem +, portaudio +, qmake +, qtbase +, wrapQtAppsHook +}: + +stdenv.mkDerivation rec { + pname = "samplebrain"; + version = "0.18.5"; + + src = fetchFromGitLab { + owner = "then-try-this"; + repo = "samplebrain"; + rev = "v${version}_release"; + hash = "sha256-/pMHmwly5Dar7w/ZawvR3cWQHw385GQv/Wsl1E2w5p4="; + }; + + nativeBuildInputs = [ + qmake + wrapQtAppsHook + ]; + + buildInputs = [ + fftw + liblo + libsndfile + portaudio + qtbase + ]; + + desktopItem = makeDesktopItem { + type = "Application"; + desktopName = pname; + name = pname; + comment = "A sample masher designed by Aphex Twin"; + exec = pname; + icon = pname; + categories = [ "Audio" ]; + }; + + installPhase = '' + mkdir -p $out/bin + cp samplebrain $out/bin + install -m 444 -D desktop/samplebrain.svg $out/share/icons/hicolor/scalable/apps/samplebrain.svg + ''; + + meta = with lib; { + description = "A custom sample mashing app"; + homepage = "https://thentrythis.org/projects/samplebrain"; + changelog = "https://gitlab.com/then-try-this/samplebrain/-/releases/v${version}_release"; + maintainers = with maintainers; [ mitchmindtree ]; + license = licenses.gpl2; + platforms = platforms.linux; + }; +} |