Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, cmake }: 2stdenv.mkDerivation rec { 3 pname = "rang"; 4 version = "3.1.0"; 5 src = fetchFromGitHub { 6 owner = "agauniyal"; 7 repo = "rang"; 8 rev = "cabe04d6d6b05356fa8f9741704924788f0dd762"; 9 sha256 = "0v2pz0l2smagr3j4abjccshg4agaccfz79m5ayvrvqq5d4rlds0s"; 10 }; 11 nativeBuildInputs = [ cmake ]; 12 meta = with lib; { 13 description = 14 "A Minimal, Header only Modern c++ library for terminal goodies"; 15 homepage = "https://agauniyal.github.io/rang/"; 16 license = licenses.unlicense; 17 maintainers = [ maintainers.HaoZeke ]; 18 }; 19}