Files
2026-02-26 20:49:47 +00:00

41 lines
703 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
boost,
catch2,
cmake,
python3,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cli11";
version = "2.6.2";
src = fetchFromGitHub {
owner = "CLIUtils";
repo = "CLI11";
rev = "v${finalAttrs.version}";
hash = "sha256-TcOmx/qUK/w3mO0bDHX+TRxxMwJpaDFQBcpkQj3hz8A=";
};
buildInputs = [ catch2 ];
nativeBuildInputs = [ cmake ];
nativeCheckInputs = [
boost
python3
];
doCheck = true;
strictDeps = true;
meta = {
description = "Command line parser for C++11";
homepage = "https://github.com/CLIUtils/CLI11";
platforms = lib.platforms.unix;
maintainers = [ ];
license = lib.licenses.bsd3;
};
})