1{ lib, stdenv, fetchFromGitHub, cmake }:
2
3stdenv.mkDerivation rec {
4 pname = "args";
5 version = "6.2.6";
6
7 src = fetchFromGitHub {
8 owner = "Taywee";
9 repo = pname;
10 rev = version;
11 sha256 = "sha256-g5OXuZNi5bkWuSg7SNmhA6vyHUOFU8suYkH8nGx6tvg=";
12 };
13
14 nativeBuildInputs = [ cmake ];
15
16 meta = with lib; {
17 description = "A simple header-only C++ argument parser library";
18 homepage = "https://github.com/Taywee/args";
19 license = licenses.mit;
20 maintainers = with maintainers; [ SuperSandro2000 ];
21 };
22}