Merge pull request #119653 from legendofmiracles/master

This commit is contained in:
Sandro 2021-04-17 19:35:30 +02:00 committed by GitHub
commit b5831f6eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 0 deletions

View File

@ -5534,6 +5534,12 @@
githubId = 4158274;
name = "Michiel Leenaars";
};
legendofmiracles = {
email = "legendofmiracles@protonmail.com";
github = "legendofmiracles";
githubId = 30902201;
name = "legendofmiracles";
};
lejonet = {
email = "daniel@kuehn.se";
github = "lejonet";

View File

@ -0,0 +1,33 @@
{ lib, fetchFromGitHub, stdenvNoCC, w3m, curl, jq, makeWrapper, installShellFiles }:
stdenvNoCC.mkDerivation rec {
pname = "tmpmail";
version = "unstable-2021-02-10";
src = fetchFromGitHub {
owner = "sdushantha";
repo = "tmpmail";
rev = "150b32083d36006cf7f496e112715ae12ee87727";
sha256 = "sha256-yQ9/UUxBTEXK5z3f+tvVRUzIGrAnrqurQ0x56Ad7RKE=";
};
dontConfigure = true;
dontBuild = true;
nativeBuildInputs = [ makeWrapper installShellFiles ];
installPhase = ''
mkdir -p $out/bin
install -Dm755 -t $out/bin tmpmail
installManPage tmpmail.1
wrapProgram $out/bin/tmpmail --prefix PATH : ${lib.makeBinPath [ w3m curl jq ]}
'';
meta = with lib; {
homepage = "https://github.com/sdushantha/tmpmail";
description = "A temporary email right from your terminal written in POSIX sh ";
license = licenses.mit;
maintainers = [ maintainers.legendofmiracles ];
};
}

View File

@ -8786,6 +8786,8 @@ in
tmpwatch = callPackage ../tools/misc/tmpwatch { };
tmpmail = callPackage ../applications/networking/tmpmail { };
tmux = callPackage ../tools/misc/tmux { };
tmux-cssh = callPackage ../tools/misc/tmux-cssh { };