nixpkgs/pkgs/tools/archivers/ndstool/default.nix

25 lines
599 B
Nix
Raw Normal View History

2019-05-27 17:03:58 +02:00
{ 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;
};
}