about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/archivers/ndstool/default.nix
blob: de7f02ce846a70f9bb50ef06317845d014d0ce6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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;
  };
}