forked from mirrors/nixpkgs
23 lines
533 B
Nix
23 lines
533 B
Nix
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "args";
|
||
|
version = "6.2.6";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "Taywee";
|
||
|
repo = pname;
|
||
|
rev = version;
|
||
|
sha256 = "sha256-g5OXuZNi5bkWuSg7SNmhA6vyHUOFU8suYkH8nGx6tvg=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ cmake ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "A simple header-only C++ argument parser library";
|
||
|
homepage = "https://github.com/Taywee/args";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||
|
};
|
||
|
}
|