diff options
author | marius851000 <mariusdavid@laposte.net> | 2019-05-14 11:02:35 +0200 |
---|---|---|
committer | marius851000 <mariusdavid@laposte.net> | 2019-05-14 11:02:35 +0200 |
commit | 006d4b0c5446b3a7ab38b0dee8bc6505fffea8aa (patch) | |
tree | fca8a0bdea1464e22b1de49850e79c6549deb47a /pkgs/tools/archivers | |
parent | df47f8b147a2a66a739c8d544d13908b3a0c97f4 (diff) |
ctrtool: init at 0.15
Diffstat (limited to 'pkgs/tools/archivers')
-rw-r--r-- | pkgs/tools/archivers/ctrtool/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/ctrtool/default.nix b/pkgs/tools/archivers/ctrtool/default.nix new file mode 100644 index 0000000000000..288a2a31ed05e --- /dev/null +++ b/pkgs/tools/archivers/ctrtool/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "ctrtool"; + version = "0.15"; + + src = fetchFromGitHub { + owner = "profi200"; + repo = "Project_CTR"; + rev = version; + sha256 = "1l6z05x18s1crvb283yvynlwsrpa1pdx1nbijp99plw06p88h4va"; + }; + + 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 ]; + }; + +} |