1 { lib, stdenv, fetchFromGitHub, meson, ninja }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-tS2SPLiKaL8C35AmOXyJPstFUfynkE/A53rurqiySbI=";
14 nativeBuildInputs = [ meson ninja ];
16 postPatch = "sed -i s#/usr#$out#g meson.build";
20 cp -R $src/include/* $out/include
24 homepage = "https://github.com/bfgroup/Lyra";
25 description = "Simple to use, composable, command line parser for C++ 11 and beyond";
26 platforms = platforms.unix;
27 license = licenses.boost;
28 maintainers = with maintainers; [ davidtwco ];