Merge pull request #87538 from chessai/add-cudd

cudd: init at 3.0.0
This commit is contained in:
Marek Mahut 2020-05-12 15:48:18 +02:00 committed by GitHub
commit 1195705bcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,14 @@
diff --git a/Makefile.am b/Makefile.am
index 45f216a..39c3c82 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,6 +3,9 @@ ACLOCAL_AMFLAGS = -I m4
include_HEADERS = cudd/cudd.h
if DDDMP
include_HEADERS += dddmp/dddmp.h
+include_HEADERS += util/util.h
+include_HEADERS += config.h
+include_HEADERS += mtr/mtr.h
endif
if OBJ
include_HEADERS += cplusplus/cuddObj.hh

View file

@ -0,0 +1,30 @@
{ stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "cudd";
version = "3.0.0";
src = fetchurl {
url = "https://davidkebo.com/source/cudd_versions/cudd-3.0.0.tar.gz";
sha256 = "0sgbgv7ljfr0lwwwrb9wsnav7mw7jmr3k8mygwza15icass6dsdq";
};
configureFlags = [
"--enable-dddmp"
"--enable-obj"
];
patches = [
./cudd.patch
];
nativeBuildInputs = [ autoreconfHook ];
meta = with stdenv.lib; {
homepage = "https://davidkebo.com/cudd";
description = "Binary Decision Diagram (BDD) library";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ chessai ];
};
}

View file

@ -883,6 +883,8 @@ in
crc32c = callPackage ../development/libraries/crc32c { };
cudd = callPackage ../development/libraries/cudd { };
cue = callPackage ../development/tools/cue { };
deltachat-electron = callPackage