helio-workstation: 3.6 -> 3.8

This commit is contained in:
Сухарик 2021-12-11 11:59:12 +03:00
parent 6d3471e55e
commit 8ba42f8fe9

View file

@ -5,14 +5,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "helio-workstation"; pname = "helio-workstation";
version = "3.6"; version = "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "helio-fm"; owner = "helio-fm";
repo = pname; repo = pname;
rev = version; rev = version;
fetchSubmodules = true; fetchSubmodules = true;
sha256 = "sha256-qW39g6rQ5VPQ3Hx9NmwLbpZiITnzFZDZlcLkE+pJKPc="; sha256 = "sha256-uwRSOJ5WvDH4mfL9pCTCGzuSRT8SIBrI+Wsbumzejv0=";
}; };
buildInputs = [ buildInputs = [
@ -30,13 +30,13 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
install -Dm755 build/Helio $out/bin install -Dm755 build/helio $out/bin
wrapProgram $out/bin/Helio --prefix PATH ":" ${gnome.zenity}/bin wrapProgram $out/bin/helio --prefix PATH ":" ${gnome.zenity}/bin
mkdir -p $out/share mkdir -p $out/share
cp -r ../Deployment/Linux/Debian/x64/usr/share/* $out/share cp -r ../Deployment/Linux/Debian/x64/usr/share/* $out/share
substituteInPlace $out/share/applications/Helio.desktop \ substituteInPlace $out/share/applications/Helio.desktop \
--replace "/usr/bin/helio" "$out/bin/Helio" --replace "/usr/bin/helio" "$out/bin/helio"
''; '';
meta = with lib; { meta = with lib; {