1 { lib, fetchFromGitHub, cmake, stdenv, nix-update-script }:
2 stdenv.mkDerivation rec {
5 src = fetchFromGitHub {
6 owner = "chipsalliance";
9 hash = "sha256-z5By57VbmIt4sgRgvECnLbZklnDDWUA6fyvWVyXUzsI=";
12 nativeBuildInputs = [ cmake ];
16 outputs = [ "out" "man" ];
18 passthru.updateScript = nix-update-script { };
21 description = "Multi-valued PLA minimization";
24 Espresso takes as input a two-level representation of a
25 two-valued (or multiple-valued) Boolean function, and produces a
26 minimal equivalent representation. The algorithms used are new and
27 represent an advance in both speed and optimality of solution in
28 heuristic Boolean minimization.
30 homepage = "https://github.com/chipsalliance/espresso";
31 maintainers = with maintainers;[ pineapplehunter ];
32 mainProgram = "espresso";
33 platforms = lib.platforms.all;
35 # The license is not provided in the GitHub repo,
36 # so until there's an update on the license, it is marked as unfree.
37 # See: https://github.com/chipsalliance/espresso/issues/4
38 license = licenses.unfree;