mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-23 13:45:49 +02:00
Merge pull request #201280 from foo-dogsquared/add-moar-pager
moar: init at 1.10.0
This commit is contained in:
commit
c031419489
|
@ -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
pkgs/tools/misc/moar/default.nix
Normal file
28
pkgs/tools/misc/moar/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue