2022-08-12 05:19:24 +00:00
|
|
|
{ lib
|
|
|
|
, stdenvNoCC
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "fancypp";
|
2022-08-23 09:57:57 +00:00
|
|
|
version = "unstable-2021-04-08";
|
2022-08-12 05:19:24 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Curve";
|
|
|
|
repo = "fancypp";
|
|
|
|
rev = "ede7f712a08f7c66ff4a5590ad94a477c48850a5";
|
|
|
|
sha256 = "sha256-E2JsQnvrqrZFYo+xBJr7xDCoPnRQftqUjjBpZzFvIic=";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Header-only library.
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir "$out"
|
|
|
|
cp -r include "$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tiny C++ Library for terminal colors and more!";
|
|
|
|
homepage = "https://github.com/Curve/fancypp";
|
|
|
|
maintainers = with maintainers; [ aidalgol ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|