diff options
Diffstat (limited to 'pkgs/tools/misc/stderred/default.nix')
-rw-r--r-- | pkgs/tools/misc/stderred/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/misc/stderred/default.nix b/pkgs/tools/misc/stderred/default.nix new file mode 100644 index 0000000000000..f159e4328c9c4 --- /dev/null +++ b/pkgs/tools/misc/stderred/default.nix @@ -0,0 +1,31 @@ +{ stdenv +, fetchFromGitHub +, cmake +, lib +}: + +stdenv.mkDerivation rec { + pname = "stderred"; + version = "unstable-2021-04-28"; + + src = fetchFromGitHub { + owner = "sickill"; + repo = "stderred"; + rev = "b2238f7c72afb89ca9aaa2944d7f4db8141057ea"; + sha256 = "sha256-k/EA327AsRHgUYu7QqSF5yzOyO6h5XcE9Uv4l1VcIPI="; + }; + + nativeBuildInputs = [ + cmake + ]; + + sourceRoot = "${src.name}/src"; + + meta = with lib; { + description = "stderr in red"; + homepage = "https://github.com/sickill/stderred"; + license = licenses.mit; + maintainers = with maintainers; [ vojta001 ]; + platforms = platforms.unix; + }; +} |