diff --git a/pkgs/tools/archivers/ndstool/default.nix b/pkgs/tools/archivers/ndstool/default.nix new file mode 100644 index 000000000000..7af30e313f45 --- /dev/null +++ b/pkgs/tools/archivers/ndstool/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchFromGitHub, autoconf, automake }: + +stdenv.mkDerivation rec { + pname = "ndstool"; + version = "2.1.2"; + + src = fetchFromGitHub { + owner = "devkitPro"; + repo = "ndstool"; + rev = "v${version}"; + sha256 = "0isnm0is5k6dgi2n2c3mysyr5hpwikp5g0s3ix7ms928z04l8ccm"; + }; + + nativeBuildInputs = [ autoconf automake ]; + + preConfigure = "./autogen.sh"; + + meta = { + homepage = https://github.com/devkitPro/ndstool; + description = "A tool to unpack and repack nds rom"; + maintainers = [ stdenv.lib.maintainers.marius851000 ]; + license = stdenv.lib.licenses.gpl3; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 361d319baaa0..7463d13f9543 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4696,6 +4696,8 @@ in nextcloud-news-updater = callPackage ../servers/nextcloud/news-updater.nix { }; + ndstool = callPackage ../tools/archivers/ndstool { }; + ngrep = callPackage ../tools/networking/ngrep { }; ngrok = ngrok-2;