blob: 6b87b838dcf7a06f562a6ad7048bf26db9f11aa2 (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
|
{
stdenv,
lib,
fetchFromGitHub,
cmake,
gtest,
tinycmmc,
}:
stdenv.mkDerivation {
pname = "strutcpp";
version = "0-unstable-2025-07-21";
src = fetchFromGitHub {
owner = "Grumbel";
repo = "strutcpp";
rev = "3c9cbf6cd0e09b34e464a0ff01aca99290d79870";
sha256 = "sha256-pyLNbjvhGjEOGcj4Krtcm/Rms2rvBfWD1lqrEmm7gnI=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
gtest
tinycmmc
];
cmakeFlags = [
"-DBUILD_TESTS=ON"
];
doCheck = true;
meta = {
description = "Collection of string utilities";
homepage = "https://github.com/Grumbel/strutcpp";
maintainers = [ lib.maintainers.SchweGELBin ];
platforms = lib.platforms.linux;
license = lib.licenses.free;
};
}
|