git.iko.soy/typeable/nixpkgs
on master help sign in
arc_unpacker: add missing hooks and clear up license
commit21108101a5051e8733a379d2091dd938c6920ab2 authorFelix Rath <felixm.rath@gmail.com> dateSat 15 May 2021, 14:59 (6 years ago) parent59ceb19
1 file changed+9−1
pkgs/tools/archivers/arc_unpacker/default.nix+9−1
pkgs/tools/archivers/arc_unpacker/default.nix+9−1
@@ -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}