about summary refs log tree commit diff stats
path: root/pkgs/by-name/fe/fetchmail-common-name/package.nix
blob: 9e89bedcbc135be4091e377816b21a6ba08e54eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  pkgs,
  callPackage,
}:
pkgs.fetchmail.overrideAttrs (final: prev: {
  pname = "fetchmail-common-name";

  patches =
    (prev.patches or [])
    ++ [
      ./patches/fix-socket.c-Correctly-check-the-common-name-even-if.patch
    ];

  meta.mainProgram = prev.meta.mainProgram or "fetchmail";
})