Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
711 B
Nix
32 lines
711 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
buildDunePackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "minisat";
|
|
version = "0.6";
|
|
|
|
minimalOCamlVersion = "4.05";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "c-cube";
|
|
repo = "ocaml-minisat";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-dH0Ndlyo/DTZ6Ao1S478aBuxoZFSkRBi5HblkTWCPas=";
|
|
};
|
|
|
|
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
|
|
NIX_CFLAGS_COMPILE = "-I${lib.getInclude stdenv.cc.libcxx}/include/c++/v1";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://c-cube.github.io/ocaml-minisat/";
|
|
description = "Simple bindings to Minisat-C";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = with lib.maintainers; [ mgttlinger ];
|
|
};
|
|
})
|