nixpkgs-suyu/pkgs/tools/archivers/ndstool/default.nix
2020-04-10 17:54:53 +01:00

24 lines
601 B
Nix

{ 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;
};
}