btor2tools: pre55 -> 1.0.0-pre
version comes from the VERSION file in the repo
This commit is contained in:
parent
bcda2525a3
commit
90b75531a5
@ -1,24 +1,24 @@
|
|||||||
{ stdenv, fetchFromGitHub }:
|
{ stdenv, cmake, fetchFromGitHub }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
pname = "btor2tools";
|
pname = "btor2tools";
|
||||||
version = "pre55_8c150b39";
|
version = "1.0.0-pre_${src.rev}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "boolector";
|
owner = "boolector";
|
||||||
repo = "btor2tools";
|
repo = "btor2tools";
|
||||||
rev = "8c150b39cdbcdef4247344acf465d75ef642365d";
|
rev = "9831f9909fb283752a3d6d60d43613173bd8af42";
|
||||||
sha256 = "1r5pid4x567nms02ajjrz3v0zj18k0fi5pansrmc2907rnx2acxx";
|
sha256 = "0mfqmkgvyw8fa2c09kww107dmk180ch1hp98r5kv41vnc04iqb0s";
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = "./configure.sh -shared";
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out $dev/include/btor2parser/ $lib/lib
|
mkdir -p $out $dev/include/btor2parser/ $lib/lib
|
||||||
|
|
||||||
cp -vr bin $out
|
cp -vr bin $out
|
||||||
cp -v src/btor2parser/btor2parser.h $dev/include/btor2parser
|
cp -v ../src/btor2parser/btor2parser.h $dev/include/btor2parser
|
||||||
cp -v build/libbtor2parser.* $lib/lib
|
cp -v lib/libbtor2parser.* $lib/lib
|
||||||
'';
|
'';
|
||||||
|
|
||||||
outputs = [ "out" "dev" "lib" ];
|
outputs = [ "out" "dev" "lib" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user