2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2020-06-26 14:33:39 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rang";
|
2022-02-28 11:35:10 +00:00
|
|
|
version = "3.1.0";
|
2020-06-26 14:33:39 +01:00
|
|
|
src = fetchFromGitHub {
|
2022-02-28 11:35:10 +00:00
|
|
|
owner = "agauniyal";
|
2020-06-26 14:33:39 +01:00
|
|
|
repo = "rang";
|
2022-02-28 11:35:10 +00:00
|
|
|
rev = "cabe04d6d6b05356fa8f9741704924788f0dd762";
|
|
|
|
sha256 = "0v2pz0l2smagr3j4abjccshg4agaccfz79m5ayvrvqq5d4rlds0s";
|
2020-06-26 14:33:39 +01:00
|
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-06-26 14:33:39 +01:00
|
|
|
description =
|
|
|
|
"A Minimal, Header only Modern c++ library for terminal goodies";
|
|
|
|
homepage = "https://agauniyal.github.io/rang/";
|
|
|
|
license = licenses.unlicense;
|
|
|
|
maintainers = [ maintainers.HaoZeke ];
|
|
|
|
};
|
|
|
|
}
|