Files
nixpkgs/pkgs/development/libraries/span-lite/default.nix
T
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

30 lines
634 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "span-lite";
version = "0.11.0";
src = fetchFromGitHub {
owner = "martinmoene";
repo = "span-lite";
rev = "v${version}";
hash = "sha256-BYRSdGzIvrOjPXxeabMj4tPFmQ0wfq7y+zJf6BD/bTw=";
};
nativeBuildInputs = [
cmake
];
meta = {
description = "C++20-like span for C++98, C++11 and later in a single-file header-only library";
homepage = "https://github.com/martinmoene/span-lite";
license = lib.licenses.bsd1;
maintainers = with lib.maintainers; [ icewind1991 ];
platforms = lib.platforms.all;
};
}