cli11: init at 1.7.1

- Tested on NixOS
This commit is contained in:
Fernando J Pando 2019-03-21 17:44:40 -04:00
parent 81e02cf02d
commit 8fb48ffb55
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ stdenv, fetchFromGitHub, cmake, gtest, python, boost }:
stdenv.mkDerivation rec {
pname = "cli11";
version = "1.7.1";
src = fetchFromGitHub {
owner = "CLIUtils";
repo = "CLI11";
rev = "v${version}";
sha256 = "0wddck970pczk7c201i2g6s85mkv4f2f4zxy6mndh3pfz41wcs2d";
};
nativeBuildInputs = [ cmake ];
checkInputs = [ boost python ];
doCheck = true;
preConfigure = ''
rm -rfv extern/googletest
ln -sfv ${gtest.src} extern/googletest
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "CLI11 is a command line parser for C++11";
homepage = https://github.com/CLIUtils/CLI11;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ nand0p ];
license = licenses.unfreeRedistributable;
};
}

View File

@ -8661,6 +8661,8 @@ in
libsigrok4dsl = callPackage ../applications/science/electronics/dsview/libsigrok4dsl.nix { };
libsigrokdecode4dsl = callPackage ../applications/science/electronics/dsview/libsigrokdecode4dsl.nix { };
cli11 = callPackage ../development/tools/misc/cli11 { };
dcadec = callPackage ../development/tools/dcadec { };
dejagnu = callPackage ../development/tools/misc/dejagnu { };