nixpkgs-suyu/pkgs/tools/archivers/ctrtool/default.nix
2019-05-14 11:02:35 +02:00

30 lines
625 B
Nix

{ 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 ];
};
}