tauon: 6.7.1 -> 7.0.1
This commit is contained in:
parent
00089fcaf0
commit
c53d2b9c3e
@ -5,6 +5,7 @@
|
|||||||
, python3Packages
|
, python3Packages
|
||||||
, ffmpeg
|
, ffmpeg
|
||||||
, flac
|
, flac
|
||||||
|
, librsvg
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, gtk3
|
, gtk3
|
||||||
, libnotify
|
, libnotify
|
||||||
@ -20,23 +21,22 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tauon";
|
pname = "tauon";
|
||||||
version = "6.7.1";
|
version = "7.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Taiko2k";
|
owner = "Taiko2k";
|
||||||
repo = "TauonMusicBox";
|
repo = "TauonMusicBox";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1hm82yfq7q2akrrvff3vmwrd3bz34d2dk8jzhnizhnhar6xc6fzp";
|
sha256 = "sha256-Sw9w6vFXk2Cx7LdfMsou9IDheVckdusc0iGWkVsVtCQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace tauon.py \
|
substituteInPlace tauon.py \
|
||||||
--replace 'install_mode = False' 'install_mode = True' \
|
--replace 'install_mode = False' 'install_mode = True' \
|
||||||
--replace 'install_directory = os.path.dirname(__file__)' 'install_directory = "${placeholder "out"}/share/tauon"'
|
--replace 'install_directory = os.path.dirname(os.path.abspath(__file__))' 'install_directory = "${placeholder "out"}/share/tauon"'
|
||||||
|
|
||||||
substituteInPlace t_modules/t_main.py \
|
substituteInPlace t_modules/t_main.py \
|
||||||
--replace 'install_mode = False' 'install_mode = True' \
|
--replace 'install_mode = False' 'install_mode = True' \
|
||||||
--replace 'install_directory = sys.path[0]' 'install_directory = "${placeholder "out"}/share/tauon"' \
|
|
||||||
--replace 'libopenmpt.so' '${lib.getLib libopenmpt}/lib/libopenmpt.so' \
|
--replace 'libopenmpt.so' '${lib.getLib libopenmpt}/lib/libopenmpt.so' \
|
||||||
--replace 'lib/libphazor.so' '../../lib/libphazor.so'
|
--replace 'lib/libphazor.so' '../../lib/libphazor.so'
|
||||||
|
|
||||||
@ -61,6 +61,7 @@ stdenv.mkDerivation rec {
|
|||||||
gtk3
|
gtk3
|
||||||
libnotify
|
libnotify
|
||||||
libopenmpt
|
libopenmpt
|
||||||
|
librsvg
|
||||||
libsamplerate
|
libsamplerate
|
||||||
libvorbis
|
libvorbis
|
||||||
mpg123
|
mpg123
|
||||||
@ -70,11 +71,14 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
pythonPath = with python3Packages; [
|
pythonPath = with python3Packages; [
|
||||||
|
beautifulsoup4
|
||||||
|
gst-python
|
||||||
dbus-python
|
dbus-python
|
||||||
isounidecode
|
isounidecode
|
||||||
musicbrainzngs
|
musicbrainzngs
|
||||||
mutagen
|
mutagen
|
||||||
pillow
|
pillow
|
||||||
|
plexapi
|
||||||
pulsectl
|
pulsectl
|
||||||
pycairo
|
pycairo
|
||||||
pylast
|
pylast
|
||||||
@ -83,6 +87,7 @@ stdenv.mkDerivation rec {
|
|||||||
pysdl2
|
pysdl2
|
||||||
requests
|
requests
|
||||||
send2trash
|
send2trash
|
||||||
|
setproctitle
|
||||||
] ++ lib.optional withDiscordRPC pypresence;
|
] ++ lib.optional withDiscordRPC pypresence;
|
||||||
|
|
||||||
makeWrapperArgs = [
|
makeWrapperArgs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user