This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
36 lines
673 B
Nix
36 lines
673 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
autoreconfHook,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
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 = {
|
|
homepage = "https://davidkebo.com/cudd";
|
|
description = "Binary Decision Diagram (BDD) library";
|
|
license = lib.licenses.bsd3;
|
|
platforms = lib.platforms.all;
|
|
maintainers = with lib.maintainers; [ chessai ];
|
|
};
|
|
}
|