Unverified Commit c0314194 authored by Jonas Heinrich's avatar Jonas Heinrich Committed by GitHub
Browse files

Merge pull request #201280 from foo-dogsquared/add-moar-pager

moar: init at 1.10.0
parents 48845dc8 ca7fcd72
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -154,6 +154,11 @@ in mkLicense lset) ({
    fullName = "BSD-2-Clause Plus Patent License";
  };

  bsd2WithViews = {
    spdxId = "BSD-2-Clause-Views";
    fullName = "BSD 2-Clause with views sentence";
  };

  bsd3 = {
    spdxId = "BSD-3-Clause";
    fullName = ''BSD 3-clause "New" or "Revised" License'';
+28 −0
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:

buildGoModule rec {
  pname = "moar";
  version = "1.10.0";

  src = fetchFromGitHub {
    owner = "walles";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-cFXUspVSCUy0q5CW8K+YL/LBpK87qlPys8hg6AYvg5M=";
  };

  vendorSha256 = "sha256-RfkY66879Us0UudplMzW8xEC1zs+2OXwyB+nBim3I0I=";

  nativeBuildInputs = [ installShellFiles ];

  postInstall = ''
    installManPage ./moar.1
  '';

  meta = with lib; {
    description = "Nice-to-use pager for humans";
    homepage = "https://github.com/walles/moar";
    license = licenses.bsd2WithViews;
    maintainers = with maintainers; [ foo-dogsquared ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -4586,6 +4586,8 @@ with pkgs;
  mmctl = callPackage ../tools/misc/mmctl { };
  moar = callPackage ../tools/misc/moar { };
  molly-brown = callPackage ../servers/gemini/molly-brown { };
  monetdb = callPackage ../servers/sql/monetdb { };