nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6}:
7
8stdenv.mkDerivation rec {
9 pname = "rang";
10 version = "3.2";
11
12 src = fetchFromGitHub {
13 owner = "agauniyal";
14 repo = "rang";
15 tag = "v${version}";
16 hash = "sha256-NK7jB5ijcu9OObmfLgiWxlJi4cVAhr7p6m9HKf+5TnQ=";
17 };
18
19 nativeBuildInputs = [ cmake ];
20
21 meta = {
22 description = "Minimal, Header only Modern c++ library for terminal goodies";
23 homepage = "https://agauniyal.github.io/rang/";
24 license = lib.licenses.unlicense;
25 maintainers = [ lib.maintainers.HaoZeke ];
26 };
27}