mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
ocenaudio: fix url
This commit is contained in:
parent
e8a69d497b
commit
07a3e1b735
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user