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

moar: init at 1.10.0
This commit is contained in:
Jonas Heinrich 2022-11-16 11:43:22 +01:00 committed by GitHub
commit c031419489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 0 deletions

View File

@ -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'';

View File

@ -0,0 +1,28 @@
{ 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 ];
};
}

View File

@ -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 { };