31 lines
722 B
Nix
31 lines
722 B
Nix
{ 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 ];
|
|
};
|
|
})
|