Merge pull request #141013 from thiagokokada/bump-hdl-dump

This commit is contained in:
Sandro 2021-10-10 20:50:00 +02:00 committed by GitHub
commit 9689ce4122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,23 +1,19 @@
{ lib
, stdenv
, fetchFromGitHub
, upx
}:
stdenv.mkDerivation rec {
pname = "hdl-dump";
version = "20202807";
version = "unstable-2021-08-20";
# Using AkuHAK's repo because playstation2's repo is outdated
src = fetchFromGitHub {
owner = "AKuHAK";
owner = "ps2homebrew";
repo = pname;
rev = "0c98b235c83c0fca1da93648f05ea5f940a4aee0";
sha256 = "1s3wflqjjlcslpa9n5chr8dbamhmfk88885dzw68apz4vf6g27iq";
rev = "1e760d7672dc12a36c09690b8c9b20d6642a2926";
sha256 = "sha256-NMExi2pUyj8vRn9beT2YvnEogRw/xzgqE+roaZ/vNZs=";
};
buildInputs = [ upx ];
makeFlags = [ "RELEASE=yes" ];
installPhase = ''
@ -25,10 +21,11 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "https://github.com/AKuHAK/hdl-dump";
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";
};
}