summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/hdl-dump/default.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-01-04 01:26:08 +0100
committerlassulus <lassulus@lassul.us>2018-01-04 01:26:08 +0100
commit878a7f164a3c3b5df81cfba24a2badcd26d46ed0 (patch)
tree00ac2ac32c20c2b7d8551409e1e3514772e44e4b /makefu/5pkgs/hdl-dump/default.nix
parent67dd126fc4244c40cd819be8cc23a15f6b1b1d6c (diff)
parentf6f01faa3ace57ed29af2b953bab34924b70abfc (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/5pkgs/hdl-dump/default.nix')
-rw-r--r--makefu/5pkgs/hdl-dump/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/makefu/5pkgs/hdl-dump/default.nix b/makefu/5pkgs/hdl-dump/default.nix
new file mode 100644
index 000000000..bd454223a
--- /dev/null
+++ b/makefu/5pkgs/hdl-dump/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, lib, pkgs, fetchurl,fetchFromGitHub, upx, wine }:
+stdenv.mkDerivation rec {
+ pname = "hdl-dump";
+ version = "75df8d7";
+ name = "${pname}-${version}";
+
+ src = fetchFromGitHub {
+ owner = "AKuHAK";
+ repo = "hdl-dump";
+ rev = version;
+ sha256 = "10jjr6p5yn0c182x17m7q68jmf8gizcny7wjxw7z5yh0fv5s48z4";
+ };
+
+ buildInputs = [ upx wine ];
+
+ makeFlags = [ "RELEASE=yes" ];
+
+ # uses wine, currently broken
+ #postBuild = ''
+ # make -C gui
+ #'';
+
+ installPhase = ''
+ mkdir -p $out/bin
+ cp hdl_dump $out/bin
+ '';
+
+ meta = {
+ homepage = https://github.com/AKuHAK/hdl-dump ;
+ description = "copy isos to psx hdd";
+ license = lib.licenses.gpl2;
+ };
+}