Skip to content

Commit

Permalink
onyx: init at 20240928
Browse files Browse the repository at this point in the history
  • Loading branch information
appsforartists committed Feb 10, 2025
1 parent c1d5040 commit 2404f4e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/by-name/on/onyx/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
appimageTools,
fetchurl,
lib,
}:
let
pname = "onyx";
version = "20240928";
src = fetchurl {
url = "https://github.com/mtolly/onyx/releases/download/${version}/${pname}-${version}-linux-x64.AppImage";
hash = "sha256-tK3Npd92L4SkfAc+eyyhkfiKWvNQcMVlNSSgE/jG6Uo=";
};
appimageContents = appimageTools.extract { inherit pname version src; };

in
appimageTools.wrapType2 {
inherit pname version src;

extraInstallCommands = ''
install -m 444 -D ${appimageContents}/${pname}.desktop -t $out/share/applications
cp -r ${appimageContents}/usr/share/icons $out/share
'';

meta = with lib; {
description = "Convert songs between Clone Hero, Rock Band, and Guitar Hero";
homepage = "https://github.com/mtolly/onyx";
license = licenses.gpl3Only;
maintainers = with maintainers; [ appsforartists ];
platforms = [ "x86_64-linux" ];
};
}

0 comments on commit 2404f4e

Please sign in to comment.