depot/third_party/nixpkgs/pkgs/tools/archivers/ndstool/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

25 lines
619 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 = "Tool to unpack and repack nds rom";
maintainers = [ lib.maintainers.marius851000 ];
license = lib.licenses.gpl3;
mainProgram = "ndstool";
};
}