mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
Merge pull request #14104 from romildo/new.grepmail
grepmail: init at 5.3104 and some dependencies
This commit is contained in:
commit
ada62bea57
33
pkgs/applications/search/grepm/default.nix
Normal file
33
pkgs/applications/search/grepm/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchurl, perlPackages, mutt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "grepm-${version}";
|
||||
version = "0.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.barsnick.net/sw/grepm";
|
||||
sha256 = "0ppprhfw06779hz1b10qvq62gsw73shccsav982dyi6xmqb6jqji";
|
||||
};
|
||||
|
||||
phases = [ "installPhase" ];
|
||||
|
||||
buildInputs = [ perlPackages.grepmail mutt ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -a $src $out/bin/grepm
|
||||
chmod +x $out/bin/grepm
|
||||
sed -i \
|
||||
-e "s:^grepmail:${perlPackages.grepmail}/bin/grepmail:" \
|
||||
-e "s:^\( *\)mutt:\1${mutt}/bin/mutt:" \
|
||||
$out/bin/grepm
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Wrapper for grepmail utilizing mutt";
|
||||
homepage = http://www.barsnick.net/sw/grepm.html;
|
||||
license = licenses.free;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.romildo ];
|
||||
};
|
||||
}
|
@ -12321,6 +12321,8 @@ let
|
||||
|
||||
grass = callPackage ../applications/gis/grass { };
|
||||
|
||||
grepm = callPackage ../applications/search/grepm { };
|
||||
|
||||
grip = callPackage ../applications/misc/grip {
|
||||
inherit (gnome) libgnome libgnomeui vte;
|
||||
};
|
||||
|
@ -4831,6 +4831,21 @@ let self = _self // overrides; _self = with self; {
|
||||
};
|
||||
};
|
||||
|
||||
FileHandleUnget = buildPerlPackage rec {
|
||||
name = "FileHandle-Unget-0.1628";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/D/DC/DCOPPIT/${name}.tar.gz";
|
||||
sha256 = "9ef4eb765ddfdc35b350905d8dd0a1e12139eabc586652811bfab41972100fdf";
|
||||
};
|
||||
buildInputs = [ FileSlurp URI ];
|
||||
meta = {
|
||||
homepage = https://github.com/coppit/filehandle-unget/;
|
||||
description = "FileHandle which supports multi-byte unget";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with maintainers; [ romildo ];
|
||||
};
|
||||
};
|
||||
|
||||
FileHomeDir = buildPerlPackage {
|
||||
name = "File-HomeDir-1.00";
|
||||
src = fetchurl {
|
||||
@ -5333,6 +5348,22 @@ let self = _self // overrides; _self = with self; {
|
||||
};
|
||||
};
|
||||
|
||||
grepmail = buildPerlPackage rec {
|
||||
name = "grepmail-5.3104";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/D/DC/DCOPPIT/${name}.tar.gz";
|
||||
sha256 = "7969e569ec54b2f569a5af56ac4d884c630ad850974658219b0b6953e97b5d3d";
|
||||
};
|
||||
buildInputs = [ FileSlurp URI ];
|
||||
propagatedBuildInputs = [ DateManip DigestMD5 MailMboxMessageParser TimeDate ];
|
||||
meta = {
|
||||
homepage = https://github.com/coppit/grepmail;
|
||||
description = "Search mailboxes for mail matching a regular expression";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with maintainers; [ romildo ];
|
||||
};
|
||||
};
|
||||
|
||||
GrowlGNTP = buildPerlModule rec {
|
||||
name = "Growl-GNTP-0.20";
|
||||
src = fetchurl {
|
||||
@ -7077,6 +7108,22 @@ let self = _self // overrides; _self = with self; {
|
||||
inherit fetchurl buildPerlPackage stdenv DBDmysql;
|
||||
};
|
||||
|
||||
MailMboxMessageParser = buildPerlPackage rec {
|
||||
name = "Mail-Mbox-MessageParser-1.5105";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/D/DC/DCOPPIT/${name}.tar.gz";
|
||||
sha256 = "641edd8b7ab74de671ab4931311413c1bd037a1c3eaa0a0c97451cd7b104f2d8";
|
||||
};
|
||||
buildInputs = [ FileSlurp TextDiff URI ];
|
||||
propagatedBuildInputs = [ FileHandleUnget ];
|
||||
meta = {
|
||||
homepage = https://github.com/coppit/mail-mbox-messageparser;
|
||||
description = "A fast and simple mbox folder reader";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with maintainers; [ romildo ];
|
||||
};
|
||||
};
|
||||
|
||||
MailDKIM = buildPerlPackage rec {
|
||||
name = "Mail-DKIM-0.40";
|
||||
src = fetchurl {
|
||||
|
Loading…
Reference in New Issue
Block a user