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
40 lines
785 B
Nix
40 lines
785 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
cmake,
|
|
fetchFromGitHub,
|
|
boost,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "boost-sml";
|
|
version = "1.1.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "boost-ext";
|
|
repo = "sml";
|
|
rev = "v${version}";
|
|
hash = "sha256-IvZwkhZe9pcyJhZdn4VkWMRUN6Ow8qs3zB6JtWb5pKk=";
|
|
};
|
|
|
|
buildInputs = [ boost ];
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
cmakeFlags = [
|
|
"-DSML_BUILD_BENCHMARKS=OFF"
|
|
"-DSML_BUILD_EXAMPLES=OFF"
|
|
"-DSML_BUILD_TESTS=ON"
|
|
"-DSML_USE_EXCEPTIONS=ON"
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Header only state machine library with no dependencies";
|
|
homepage = "https://github.com/boost-ext/sml";
|
|
license = licenses.boost;
|
|
maintainers = with maintainers; [ prtzl ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|