diff --git a/custom-pkgs/default.nix b/custom-pkgs/default.nix index b3d6913..e890eb5 100644 --- a/custom-pkgs/default.nix +++ b/custom-pkgs/default.nix @@ -10,6 +10,7 @@ let }; 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 mkvextract-gtk = callPackage ./mkvextract-gtk.nix { }; }; diff --git a/custom-pkgs/hdl-dump-beta.nix b/custom-pkgs/hdl-dump-beta.nix new file mode 100644 index 0000000..0c8e8b4 --- /dev/null +++ b/custom-pkgs/hdl-dump-beta.nix @@ -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"; + }; +} diff --git a/home/jdigi/packages.nix b/home/jdigi/packages.nix index 58c68b6..33abdc1 100644 --- a/home/jdigi/packages.nix +++ b/home/jdigi/packages.nix @@ -9,6 +9,7 @@ discord element-desktop gimp + hdl-dump-beta neovim obs-studio onlyoffice-bin