summary refs log tree commit diff
path: root/pkgs/development/tools/gamecube-tools
diff options
context:
space:
mode:
authorTom Smeets <tom@tsmeets.nl>2018-12-17 21:37:34 +0100
committerTom Smeets <tom@tsmeets.nl>2018-12-17 21:37:34 +0100
commit8f25e3d4cd58fcaadc26f9cdb2ea3fd8ba4ab392 (patch)
treea5ee75cdb1a96deac7258dbaca8d4212fb3caaec /pkgs/development/tools/gamecube-tools
parent307404bfa5a65b1bee5d1cc98873cec519c2af15 (diff)
downloadnixpkgs-8f25e3d4cd58fcaadc26f9cdb2ea3fd8ba4ab392.tar
nixpkgs-8f25e3d4cd58fcaadc26f9cdb2ea3fd8ba4ab392.tar.gz
nixpkgs-8f25e3d4cd58fcaadc26f9cdb2ea3fd8ba4ab392.tar.bz2
nixpkgs-8f25e3d4cd58fcaadc26f9cdb2ea3fd8ba4ab392.tar.lz
nixpkgs-8f25e3d4cd58fcaadc26f9cdb2ea3fd8ba4ab392.tar.xz
nixpkgs-8f25e3d4cd58fcaadc26f9cdb2ea3fd8ba4ab392.tar.zst
nixpkgs-8f25e3d4cd58fcaadc26f9cdb2ea3fd8ba4ab392.zip
gamecube-tools: init at v1.0.2
Diffstat (limited to 'pkgs/development/tools/gamecube-tools')
-rw-r--r--pkgs/development/tools/gamecube-tools/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/tools/gamecube-tools/default.nix b/pkgs/development/tools/gamecube-tools/default.nix
new file mode 100644
index 00000000000..0857a3d4a7c
--- /dev/null
+++ b/pkgs/development/tools/gamecube-tools/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, which, autoconf, automake, fetchFromGitHub,
+  libtool, freeimage, mesa }:
+stdenv.mkDerivation rec {
+  version = "v1.0.2";
+  name = "gamecube-tools-${version}";
+
+  nativeBuildInputs = [ which autoconf automake libtool ];
+  buildInputs = [ freeimage mesa ];
+
+  src = fetchFromGitHub {
+    owner = "devkitPro";
+    repo  = "gamecube-tools";
+    rev = version;
+    sha256 = "0zvpkzqvl8iv4ndzhkjkmrzpampyzgb91spv0h2x2arl8zy4z7ca";
+  };
+
+  preConfigure = "./autogen.sh";
+
+  meta = with stdenv.lib; {
+    description = "Tools for gamecube/wii projects";
+    homepage = "https://github.com/devkitPro/gamecube-tools/";
+    license = licenses.gpl2;
+    maintainers = with maintainers; [ tomsmeets ];
+  };
+}