8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
30 lines
630 B
Nix
30 lines
630 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ctrtool";
|
|
version = "0.16";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jakcron";
|
|
repo = "Project_CTR";
|
|
rev = "v${version}";
|
|
sha256 = "1n3j3fd1bqd39v5bdl9mhq4qdrcl1k4ib1yzl3qfckaz3y8bkrap";
|
|
};
|
|
|
|
sourceRoot = "source/ctrtool";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
installPhase = "
|
|
mkdir $out/bin -p
|
|
cp ctrtool $out/bin/ctrtool
|
|
";
|
|
|
|
meta = with stdenv.lib; {
|
|
license = licenses.mit;
|
|
description = "A tool to extract data from a 3ds rom";
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.marius851000 ];
|
|
};
|
|
|
|
}
|