mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
zipperposition: migrate to dunePackages
(cherry picked from commit 62ac3adbe3)
This commit is contained in:
committed by
github-actions[bot]
parent
439464b6ab
commit
fbdaaee21b
@@ -29,17 +29,12 @@ ocamlPackages.buildDunePackage {
|
||||
oseq
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
dune build -p logtk,libzipperposition,zipperposition,zipperposition-tools ''${enableParallelBuilding:+-j $NIX_BUILD_CORES}
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
dune install --prefix $out --libdir $OCAMLFIND_DESTDIR logtk libzipperposition zipperposition zipperposition-tools
|
||||
runHook postInstall
|
||||
'';
|
||||
dunePackages = [
|
||||
"logtk"
|
||||
"libzipperposition"
|
||||
"zipperposition"
|
||||
"zipperposition-tools"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@@ -49,12 +44,6 @@ ocamlPackages.buildDunePackage {
|
||||
qcheck-alcotest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
dune runtest -p logtk,libzipperposition,zipperposition,zipperposition-tools ''${enableParallelBuilding:+-j $NIX_BUILD_CORES}
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Superposition prover for full first order logic";
|
||||
homepage = "https://github.com/sneeuwballen/zipperposition";
|
||||
|
||||
Reference in New Issue
Block a user