a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
36 lines
652 B
Nix
36 lines
652 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, boost
|
|
, catch2
|
|
, cmake
|
|
, gtest
|
|
, python3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cli11";
|
|
version = "2.3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CLIUtils";
|
|
repo = "CLI11";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-x3/kBlf5LdzkTO4NYOKanZBfcU4oK+fJw9L7cf88LsY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
nativeCheckInputs = [ boost python3 catch2 ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Command line parser for C++11";
|
|
homepage = "https://github.com/CLIUtils/CLI11";
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ ];
|
|
license = licenses.bsd3;
|
|
};
|
|
|
|
}
|