blob: 724870e0751cca194b76bba6f3882aef330d3bfc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ 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 = "A 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;
};
}
|