Merge pull request #189759 from jansol/tauon
This commit is contained in:
commit
55f701a2ba
3 changed files with 42 additions and 2 deletions
|
@ -9,9 +9,11 @@
|
|||
, librsvg
|
||||
, gobject-introspection
|
||||
, gtk3
|
||||
, kissfft
|
||||
, libnotify
|
||||
, libsamplerate
|
||||
, libvorbis
|
||||
, miniaudio
|
||||
, mpg123
|
||||
, libopenmpt
|
||||
, opusfile
|
||||
|
@ -23,15 +25,23 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tauon";
|
||||
version = "7.3.1";
|
||||
version = "7.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Taiko2k";
|
||||
repo = "TauonMusicBox";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-g3mRVPOXU3N+MApLaHAAIIsVuVv2GeB1Nj//8tuS0oI=";
|
||||
sha256 = "sha256-cHuEmRQG40p04MXcwmYMm7Jih+mYre9IBnOPMx1/k7k=";
|
||||
};
|
||||
|
||||
postUnpack = ''
|
||||
rmdir source/src/phazor/kissfft
|
||||
ln -s ${kissfft.src} source/src/phazor/kissfft
|
||||
|
||||
rmdir source/src/phazor/miniaudio
|
||||
ln -s ${miniaudio.src} source/src/phazor/miniaudio
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tauon.py \
|
||||
--replace 'install_mode = False' 'install_mode = True' \
|
||||
|
|
28
pkgs/development/libraries/miniaudio/default.nix
Normal file
28
pkgs/development/libraries/miniaudio/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "miniaudio";
|
||||
version = "unstable-2020-04-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mackron";
|
||||
repo = "miniaudio";
|
||||
rev = "4d813cfe23c28db165cce6785419fee9d2399766";
|
||||
sha256 = "sha256-efZLZTmkLtvcysd25olDE/QqunU5YTYwSVmUZXPKGIY=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
cp -r $src/* $out/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Single header audio playback and capture library written in C.";
|
||||
homepage = "https://github.com/mackron/miniaudio";
|
||||
license = licenses.unlicense;
|
||||
maintainers = [ maintainers.jansol ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -20873,6 +20873,8 @@ with pkgs;
|
|||
|
||||
mimalloc = callPackage ../development/libraries/mimalloc { };
|
||||
|
||||
miniaudio = callPackage ../development/libraries/miniaudio { };
|
||||
|
||||
miniz = callPackage ../development/libraries/miniz { };
|
||||
|
||||
minizip = callPackage ../development/libraries/minizip { };
|
||||
|
|
Loading…
Reference in a new issue