Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.05 31 lines 665 B view raw
1{ lib 2, stdenvNoCC 3, fetchFromGitHub 4}: 5 6stdenvNoCC.mkDerivation rec { 7 pname = "fancypp"; 8 version = "unstable-2021-04-08"; 9 10 src = fetchFromGitHub { 11 owner = "Curve"; 12 repo = "fancypp"; 13 rev = "ede7f712a08f7c66ff4a5590ad94a477c48850a5"; 14 sha256 = "sha256-E2JsQnvrqrZFYo+xBJr7xDCoPnRQftqUjjBpZzFvIic="; 15 }; 16 17 # Header-only library. 18 dontBuild = true; 19 20 installPhase = '' 21 mkdir "$out" 22 cp -r include "$out" 23 ''; 24 25 meta = with lib; { 26 description = "Tiny C++ Library for terminal colors and more!"; 27 homepage = "https://github.com/Curve/fancypp"; 28 maintainers = with maintainers; [ aidalgol ]; 29 license = licenses.mit; 30 }; 31}