diff --git a/pkgs/by-name/co/colorized-logs/package.nix b/pkgs/by-name/co/colorized-logs/package.nix new file mode 100644 index 000000000000..9913d0d765ba --- /dev/null +++ b/pkgs/by-name/co/colorized-logs/package.nix @@ -0,0 +1,30 @@ +{ cmake +, fetchFromGitHub +, lib +, stdenv +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "colorized-logs"; + version = "2.6"; + + src = fetchFromGitHub { + owner = "kilobyte"; + repo = "colorized-logs"; + rev = "v${finalAttrs.version}"; + hash = "sha256-QiZeIYeIWA3C7wYi2G2EItdW+jLjVrCbIYllur/RtY8="; + }; + + nativeBuildInputs = [ + cmake + ]; + + meta = { + description = "Tools for logs with ANSI color"; + homepage = "https://github.com/kilobyte/colorized-logs"; + changelog = "https://github.com/kilobyte/colorized-logs/blob/v${finalAttrs.version}/ChangeLog"; + license = with lib.licenses; [ mit ]; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ CobaltCause ]; + }; +})