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