2021-05-29 03:34:57 +00:00
|
|
|
{ lib, stdenv, fetchzip, autoPatchelfHook, makeWrapper
|
2021-06-28 23:13:55 +00:00
|
|
|
, alsa-lib, curl, gtk3, webkitgtk, zenity }:
|
2021-05-29 03:34:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rymcast";
|
|
|
|
version = "1.0.6";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://www.inphonik.com/files/rymcast/rymcast-${version}-linux-x64.tar.gz";
|
|
|
|
hash = "sha256:0vjjhfrwdibjjgz3awbg30qxkjrzc4cya1f4pigwjh3r0vvrq0ga";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
buildInputs = [ alsa-lib curl gtk3 stdenv.cc.cc.lib webkitgtk zenity ];
|
2021-05-29 03:34:57 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/bin"
|
|
|
|
cp RYMCast "$out/bin/"
|
|
|
|
wrapProgram "$out/bin/RYMCast" \
|
|
|
|
--set PATH "${lib.makeBinPath [ zenity ]}"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Player for Mega Drive/Genesis VGM files";
|
|
|
|
homepage = "https://www.inphonik.com/products/rymcast-genesis-vgm-player/";
|
2022-06-26 10:26:21 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
2021-05-29 03:34:57 +00:00
|
|
|
license = licenses.unfree;
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
maintainers = with maintainers; [ astsmtl ];
|
|
|
|
};
|
|
|
|
}
|