lol
1{ lib, stdenv, fetchFromGitHub, autoconf, automake }:
2
3stdenv.mkDerivation rec {
4 pname = "ndstool";
5 version = "2.1.2";
6
7 src = fetchFromGitHub {
8 owner = "devkitPro";
9 repo = "ndstool";
10 rev = "v${version}";
11 sha256 = "0isnm0is5k6dgi2n2c3mysyr5hpwikp5g0s3ix7ms928z04l8ccm";
12 };
13
14 nativeBuildInputs = [ autoconf automake ];
15
16 preConfigure = "./autogen.sh";
17
18 meta = {
19 homepage = "https://github.com/devkitPro/ndstool";
20 description = "A tool to unpack and repack nds rom";
21 maintainers = [ lib.maintainers.marius851000 ];
22 license = lib.licenses.gpl3;
23 };
24}