2019-05-14 11:02:35 +02:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ctrtool";
|
2019-08-08 17:23:14 +02:00
|
|
|
version = "0.16";
|
2019-05-14 11:02:35 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-08-08 17:23:14 +02:00
|
|
|
owner = "jakcron";
|
2019-05-14 11:02:35 +02:00
|
|
|
repo = "Project_CTR";
|
2019-08-08 17:23:14 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1n3j3fd1bqd39v5bdl9mhq4qdrcl1k4ib1yzl3qfckaz3y8bkrap";
|
2019-05-14 11:02:35 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|