8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
16 sha256 = "sha256-2gH3h3QAl0+XVULt/fR2UUGKNIxTUmnRRdxPOFdpVy4=";
19 nativeBuildInputs = [ cmake ];
21 # https://github.com/Taywee/args/issues/108
23 substituteInPlace CMakeLists.txt \
24 --replace '$'{CMAKE_INSTALL_LIBDIR_ARCHIND} '$'{CMAKE_INSTALL_LIBDIR}
25 substituteInPlace packaging/pkgconfig.pc.in \
26 --replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
30 description = "Simple header-only C++ argument parser library";
31 homepage = "https://github.com/Taywee/args";
32 license = licenses.mit;