c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
36 lines
646 B
Nix
36 lines
646 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, boost
|
|
, catch2
|
|
, cmake
|
|
, gtest
|
|
, python3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cli11";
|
|
version = "2.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CLIUtils";
|
|
repo = "CLI11";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-J/hOgCDQPI0n2BGJK0+HIwlfNDVaZcxCC45uFAR7JUc=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
checkInputs = [ 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;
|
|
};
|
|
|
|
}
|