Philip Taron 22b88ba79d
treewide: adjust meta descriptions to avoid definite or indefinite articles
This patch was produced in Vim by me, a human being. All errors are the fault of the operator. I did try to be careful.

Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
Co-authored-by: dotlambda <nix@dotlambda.de>
2025-06-05 11:04:25 -07:00

40 lines
892 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
ninja,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "optional-lite";
version = "3.6.0";
src = fetchFromGitHub {
owner = "martinmoene";
repo = "optional-lite";
tag = "v${finalAttrs.version}";
hash = "sha256-qmKuxYc0cpoOtRRb4okJZ8pYPvzQid1iqBctnhGlz6M=";
};
nativeBuildInputs = [
cmake
ninja
];
doCheck = true;
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
};
meta = {
description = "C++17-like optional, a nullable object for C++98, C++11 and later in a single-file header-only library";
homepage = "https://github.com/martinmoene/optional-lite";
changelog = "https://github.com/martinmoene/optional-lite/blob/v${finalAttrs.version}/CHANGES.txt";
license = lib.licenses.boost;
maintainers = with lib.maintainers; [ titaniumtown ];
};
})