@@ -30,17 +30,25 @@ stdenv.mkDerivation rec {
3030 '';
3131
3232 checkPhase = ''
33+ runHook preCheck
34+
3335 pushd ..
3436 ./build/run_tests
3537 popd
38+
39+ runHook postCheck
3640 '';
3741
3842 installPhase = ''
43+ runHook preInstall
44+
3945 mkdir -p $out/bin $out/share/doc/arc_unpacker $out/libexec/arc_unpacker
4046 cp arc_unpacker $out/libexec/arc_unpacker/arc_unpacker
4147 cp ../GAMELIST.{htm,js} $out/share/doc/arc_unpacker
4248 cp -r ../etc $out/libexec/arc_unpacker
4349 makeWrapper $out/libexec/arc_unpacker/arc_unpacker $out/bin/arc_unpacker
50+
51+ runHook postInstall
4452 '';
4553
4654 doCheck = true;
@@ -48,7 +56,7 @@ stdenv.mkDerivation rec {
4856 meta = with lib; {
4957 description = "A tool to extract files from visual novel archives";
5058 homepage = "https://github.com/vn-tools/arc_unpacker";
51− license = licenses.gpl3;
59+ license = licenses.gpl3Plus;
5260 maintainers = with maintainers; [ midchildan ];
5361 };
5462}