nixpkgs/pkgs/tools/archivers/ndstool/default.nix
2021-01-15 17:12:36 +07:00

24 lines
592 B
Nix

{ lib, 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 = [ lib.maintainers.marius851000 ];
license = lib.licenses.gpl3;
};
}