Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: db50ff636745
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 100f0b032dcb
Choose a head ref
  • 2 commits
  • 2 files changed
  • 3 contributors

Commits on Jun 7, 2019

  1. aerc: init at 0.1.0

    Co-authored-by: Tadeo Kondrak <me@tadeo.ca>
    Mic92 and tadeokondrak committed Jun 7, 2019
    Copy the full SHA
    6abbf8e View commit details

Commits on Jun 8, 2019

  1. Merge pull request #62830 from tadeokondrak/aerc

    aerc: init at 0.1.0
    kalbasit authored Jun 8, 2019
    Copy the full SHA
    100f0b0 View commit details
Showing with 57 additions and 0 deletions.
  1. +55 −0 pkgs/applications/networking/mailreaders/aerc/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
55 changes: 55 additions & 0 deletions pkgs/applications/networking/mailreaders/aerc/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{ stdenv, buildGoModule, fetchurl
, go, scdoc
, python3, perl, w3m, dante
}:

buildGoModule rec {
pname = "aerc";
version = "0.1.0";

src = fetchurl {
url = "https://git.sr.ht/~sircmpwn/aerc/archive/${version}.tar.gz";
sha256 = "0wx9l097s51ih4khk231f9fs3vw55an8l2jx3q13v7y20522wgnk";
};

nativeBuildInputs = [
go
scdoc
python3.pkgs.wrapPython
];

pythonPath = [
python3.pkgs.colorama
];

buildInputs = [ python3 perl ];

buildPhase = "
runHook preBuild
# we use make instead of go build
runHook postBuild
";

installPhase = ''
runHook preInstall
make PREFIX=$out install
wrapPythonProgramsIn $out/share/aerc/filters "$out $pythonPath"
runHook postInstall
'';

postFixup = ''
wrapProgram $out/bin/aerc --prefix PATH ":" "$out/share/aerc/filters"
wrapProgram $out/share/aerc/filters/html --prefix PATH ":" \
${stdenv.lib.makeBinPath [ w3m dante ]}
'';

modSha256 = "1h0vr01s2y0k3jjigz0h8ngjv1mhk6kw8mdisp5pr017jbhijfsi";

meta = with stdenv.lib; {
description = "aerc is an email client for your terminal";
homepage = https://aerc-mail.org/;
maintainers = with maintainers; [ tadeokondrak ];
license = licenses.mit;
platforms = platforms.unix;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -466,6 +466,8 @@ in
wxGTK = wxGTK30;
} // (config.aegisub or {}));

aerc = callPackage ../applications/networking/mailreaders/aerc { };

aerospike = callPackage ../servers/nosql/aerospike { };

aespipe = callPackage ../tools/security/aespipe { };