summary refs log tree commit diff
path: root/pkgs/development/libraries/cudd/default.nix
blob: 6749d2e94c0f41757522d6ad3eff41eb0cd88073 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 ];
  };
}