Merge pull request #102345 from felschr/feat/filebot492
filebot: 4.9.1 -> 4.9.2
This commit is contained in:
commit
101d44202f
1 changed files with 3 additions and 3 deletions
|
@ -10,11 +10,11 @@ in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "filebot";
|
pname = "filebot";
|
||||||
version = "4.9.1";
|
version = "4.9.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://get.filebot.net/filebot/FileBot_${version}/FileBot_${version}-portable.tar.xz";
|
url = "https://get.filebot.net/filebot/FileBot_${version}/FileBot_${version}-portable.tar.xz";
|
||||||
sha256 = "0l496cz703mjymjhgmyrkqbfld1bz53pdsbkx00h9a267j22fkms";
|
sha256 = "0hcyam8l0fzc9fnp1dpawk0s3rwhfph78w99y7zlcv5l4l4h04lz";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = "tar xvf $src";
|
unpackPhase = "tar xvf $src";
|
||||||
|
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||||
cp -r filebot.sh lib/ jar/ $out/opt/
|
cp -r filebot.sh lib/ jar/ $out/opt/
|
||||||
# Filebot writes to $APP_DATA, which fails due to read-only filesystem. Using current user .local directory instead.
|
# Filebot writes to $APP_DATA, which fails due to read-only filesystem. Using current user .local directory instead.
|
||||||
substituteInPlace $out/opt/filebot.sh \
|
substituteInPlace $out/opt/filebot.sh \
|
||||||
--replace 'APP_DATA="$FILEBOT_HOME/data/$USER"' 'APP_DATA=''${XDG_DATA_HOME:-$HOME/.local/share}/filebot/data' \
|
--replace 'APP_DATA="$FILEBOT_HOME/data/$(id -u)"' 'APP_DATA=''${XDG_DATA_HOME:-$HOME/.local/share}/filebot/data' \
|
||||||
--replace '$FILEBOT_HOME/data/.license' '$APP_DATA/.license'
|
--replace '$FILEBOT_HOME/data/.license' '$APP_DATA/.license'
|
||||||
wrapProgram $out/opt/filebot.sh \
|
wrapProgram $out/opt/filebot.sh \
|
||||||
--prefix PATH : ${stdenv.lib.makeBinPath [ openjdk11 ]}
|
--prefix PATH : ${stdenv.lib.makeBinPath [ openjdk11 ]}
|
||||||
|
|
Loading…
Reference in a new issue