Add custom package hdl-dump-beta

This commit is contained in:
Joseph DiGiovanni 2024-08-04 23:03:42 -04:00
parent 7c8796ec01
commit f1704cfb21
3 changed files with 33 additions and 0 deletions

View file

@ -10,6 +10,7 @@ let
}; };
gpu-screen-recorder = final.unstable.gpu-screen-recorder; gpu-screen-recorder = final.unstable.gpu-screen-recorder;
hdl-dump-beta = callPackage ./hdl-dump-beta.nix { };
icoextract = final.unstable.icoextract; #TODO: remove in next release icoextract = final.unstable.icoextract; #TODO: remove in next release
mkvextract-gtk = callPackage ./mkvextract-gtk.nix { }; mkvextract-gtk = callPackage ./mkvextract-gtk.nix { };
}; };

View file

@ -0,0 +1,31 @@
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "hdl-dump";
version = "unstable-2022-09-19";
src = fetchFromGitHub {
owner = "ps2homebrew";
repo = pname;
rev = "32c296c69cf9c263fcbe035004aa28c345b3b279";
hash = "sha256-eBqF4OGEaLQXQ4JMtD/Yn+f97RzKVsnC+4oyiEhLTUM=";
};
makeFlags = [ "RELEASE=yes" ];
installPhase = ''
install -Dm755 hdl_dump -t $out/bin
'';
meta = with lib; {
homepage = "https://github.com/ps2homebrew/hdl-dump";
description = "PlayStation 2 HDLoader image dump/install utility";
platforms = platforms.linux;
license = licenses.gpl2Only;
maintainers = with maintainers; [ makefu ];
mainProgram = "hdl_dump";
};
}

View file

@ -9,6 +9,7 @@
discord discord
element-desktop element-desktop
gimp gimp
hdl-dump-beta
neovim neovim
obs-studio obs-studio
onlyoffice-bin onlyoffice-bin