commit
1195705bcd
14
pkgs/development/libraries/cudd/cudd.patch
Normal file
14
pkgs/development/libraries/cudd/cudd.patch
Normal 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
|
30
pkgs/development/libraries/cudd/default.nix
Normal file
30
pkgs/development/libraries/cudd/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -883,6 +883,8 @@ in
|
||||
|
||||
crc32c = callPackage ../development/libraries/crc32c { };
|
||||
|
||||
cudd = callPackage ../development/libraries/cudd { };
|
||||
|
||||
cue = callPackage ../development/tools/cue { };
|
||||
|
||||
deltachat-electron = callPackage
|
||||
|
Loading…
Reference in New Issue
Block a user