ocenaudio: fix url

This commit is contained in:
John Garcia 2024-02-09 14:09:22 +00:00
parent e8a69d497b
commit 07a3e1b735

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
version = "3.13.4";
src = fetchurl {
url = "https://www.ocenaudio.com/downloads/index.php/ocenaudio_debian9_64.deb?version=${version}";
url = "https://www.ocenaudio.com/downloads/index.php/ocenaudio_debian9_64.deb?version=v${version}";
hash = "sha256-vE+xwwkBXIksy+6oygLDsrT8mFfHYIGcb6+8KMZe0no=";
};
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
mv $out/usr/share $out/share
rm -rf $out/usr
substituteInPlace $out/share/applications/ocenaudio.desktop \
--replace "/opt/ocenaudio/bin/ocenaudio" "ocenaudio"
--replace-fail "/opt/ocenaudio/bin/ocenaudio" "ocenaudio"
mkdir -p $out/share/licenses/ocenaudio
mv $out/bin/ocenaudio_license.txt $out/share/licenses/ocenaudio/LICENSE