btor2tools: init at pre55_8c150b39
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
68cc845295
commit
9b64100add
33
pkgs/applications/science/logic/btor2tools/default.nix
Normal file
33
pkgs/applications/science/logic/btor2tools/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "btor2tools-${version}";
|
||||
version = "pre55_8c150b39";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "boolector";
|
||||
repo = "btor2tools";
|
||||
rev = "8c150b39cdbcdef4247344acf465d75ef642365d";
|
||||
sha256 = "1r5pid4x567nms02ajjrz3v0zj18k0fi5pansrmc2907rnx2acxx";
|
||||
};
|
||||
|
||||
configurePhase = "./configure.sh -shared";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out $dev/include/btor2parser/ $lib/lib
|
||||
|
||||
cp -vr bin $out
|
||||
cp -v src/btor2parser/btor2parser.h $dev/include/btor2parser
|
||||
cp -v build/libbtor2parser.* $lib/lib
|
||||
'';
|
||||
|
||||
outputs = [ "out" "dev" "lib" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Fast SAT solver";
|
||||
homepage = http://fmv.jku.at/lingeling/;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ thoughtpolice ];
|
||||
};
|
||||
}
|
@ -20841,6 +20841,8 @@ with pkgs;
|
||||
|
||||
avy = callPackage ../applications/science/logic/avy {};
|
||||
|
||||
btor2tools = callPackage ../applications/science/logic/btor2tools {};
|
||||
|
||||
boolector = callPackage ../applications/science/logic/boolector {};
|
||||
|
||||
symbiyosys = callPackage ../applications/science/logic/symbiyosys {};
|
||||
|
Loading…
Reference in New Issue
Block a user