mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
28 lines
550 B
Nix
28 lines
550 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "rang";
|
|
version = "3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "agauniyal";
|
|
repo = "rang";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-YJn9SnTBAJ/lPhBRjIlFgRRageeX3wximuAvbXyhgfg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = {
|
|
description = "Minimal, Header only Modern c++ library for terminal goodies";
|
|
homepage = "https://agauniyal.github.io/rang/";
|
|
license = lib.licenses.unlicense;
|
|
maintainers = [ ];
|
|
};
|
|
})
|