forked from mirrors/nixpkgs
7bd65d54f7
While looking at the sphinx package I noticed it was heavily undermaintained, which is when we noticed nand0p has been inactive for roughly 18 months. It is therefore prudent to assume they will not be maintaining their packages, modules and tests. - Their last contribution to nixpkgs was in 2019/12 - On 2021/05/08 I wrote them an email to the address listed in the maintainer-list, which they didn't reply to.
42 lines
788 B
Nix
42 lines
788 B
Nix
{
|
|
lib, stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
gtest,
|
|
python3,
|
|
boost
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cli11";
|
|
version = "1.9.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CLIUtils";
|
|
repo = "CLI11";
|
|
rev = "v${version}";
|
|
sha256 = "0hbch0vk8irgmiaxnfqlqys65v1770rxxdfn3d23m2vqyjh0j9l6";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
checkInputs = [ boost python3 ];
|
|
|
|
doCheck = true;
|
|
|
|
preConfigure = ''
|
|
rm -rfv extern/googletest
|
|
ln -sfv ${gtest.src} extern/googletest
|
|
sed -i '/TrueFalseTest/d' tests/CMakeLists.txt
|
|
'';
|
|
|
|
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;
|
|
};
|
|
|
|
}
|