1{ lib
2, stdenv
3, fetchFromGitHub
4, boost
5, catch2
6, cmake
7, gtest
8, python3
9}:
10
11stdenv.mkDerivation rec {
12 pname = "cli11";
13 version = "2.3.2";
14
15 src = fetchFromGitHub {
16 owner = "CLIUtils";
17 repo = "CLI11";
18 rev = "v${version}";
19 sha256 = "sha256-x3/kBlf5LdzkTO4NYOKanZBfcU4oK+fJw9L7cf88LsY=";
20 };
21
22 nativeBuildInputs = [ cmake ];
23
24 nativeCheckInputs = [ boost python3 catch2 ];
25
26 doCheck = true;
27
28 meta = with lib; {
29 description = "Command line parser for C++11";
30 homepage = "https://github.com/CLIUtils/CLI11";
31 platforms = platforms.unix;
32 maintainers = with maintainers; [ ];
33 license = licenses.bsd3;
34 };
35
36}