Merge pull request #110441 from spease/cxxopts

authored by

Sandro and committed by
GitHub
27df874f 09feb4b9

+35
+6
maintainers/maintainer-list.nix
··· 8661 8661 githubId = 7669898; 8662 8662 name = "Katharina Fey"; 8663 8663 }; 8664 + spease = { 8665 + email = "peasteven@gmail.com"; 8666 + github = "spease"; 8667 + githubId = 2825204; 8668 + name = "Steven Pease"; 8669 + }; 8664 8670 spencerjanssen = { 8665 8671 email = "spencerjanssen@gmail.com"; 8666 8672 github = "spencerjanssen";
+27
pkgs/development/libraries/cxxopts/default.nix
··· 1 + { cmake, fetchFromGitHub, icu, lib, pkg-config, stdenv, enableUnicodeHelp ? true }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "cxxopts"; 5 + version = "2.2.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "jarro2783"; 9 + repo = name; 10 + rev = "v${version}"; 11 + sha256 = "0d3y747lsh1wkalc39nxd088rbypxigm991lk3j91zpn56whrpha"; 12 + }; 13 + 14 + buildInputs = lib.optional enableUnicodeHelp [ icu.dev ]; 15 + cmakeFlags = lib.optional enableUnicodeHelp [ "-DCXXOPTS_USE_UNICODE_HELP=TRUE" ]; 16 + nativeBuildInputs = [ cmake ] ++ lib.optional enableUnicodeHelp [ pkg-config ]; 17 + 18 + doCheck = true; 19 + 20 + meta = with lib; { 21 + homepage = "https://github.com/jarro2783/cxxopts"; 22 + description = "Lightweight C++ GNU-style option parser library"; 23 + license = licenses.mit; 24 + maintainers = [ maintainers.spease ]; 25 + platforms = platforms.all; 26 + }; 27 + }
+2
pkgs/top-level/all-packages.nix
··· 13337 13337 13338 13338 cxx-prettyprint = callPackage ../development/libraries/cxx-prettyprint { }; 13339 13339 13340 + cxxopts = callPackage ../development/libraries/cxxopts { }; 13341 + 13340 13342 cxxtest = python2Packages.callPackage ../development/libraries/cxxtest { }; 13341 13343 13342 13344 cypress = callPackage ../development/web/cypress { };