mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
arc_unpacker: add missing hooks and clear up license
This commit is contained in:
parent
59ceb1926a
commit
21108101a5
@ -30,17 +30,25 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
pushd ..
|
||||
./build/run_tests
|
||||
popd
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin $out/share/doc/arc_unpacker $out/libexec/arc_unpacker
|
||||
cp arc_unpacker $out/libexec/arc_unpacker/arc_unpacker
|
||||
cp ../GAMELIST.{htm,js} $out/share/doc/arc_unpacker
|
||||
cp -r ../etc $out/libexec/arc_unpacker
|
||||
makeWrapper $out/libexec/arc_unpacker/arc_unpacker $out/bin/arc_unpacker
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
@ -48,7 +56,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "A tool to extract files from visual novel archives";
|
||||
homepage = "https://github.com/vn-tools/arc_unpacker";
|
||||
license = licenses.gpl3;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ midchildan ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user