mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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 :)
This commit is contained in:
parent
79d3ca0892
commit
bc6bea7274
2 changed files with 64 additions and 0 deletions
62
pkgs/applications/audio/samplebrain/default.nix
Normal file
62
pkgs/applications/audio/samplebrain/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -15579,6 +15579,8 @@ with pkgs;
|
|||
|
||||
mruby = callPackage ../development/compilers/mruby { };
|
||||
|
||||
samplebrain = libsForQt5.callPackage ../applications/audio/samplebrain { };
|
||||
|
||||
scsh = callPackage ../development/interpreters/scsh { };
|
||||
|
||||
scheme48 = callPackage ../development/interpreters/scheme48 { };
|
||||
|
|
Loading…
Reference in a new issue