diff --git a/flake.nix b/flake.nix index 44ba009..9e2dc04 100644 --- a/flake.nix +++ b/flake.nix @@ -58,6 +58,7 @@ overlays/mautrix-discord.nix overlays/getmail6 overlays/maildrop + overlays/courier-unicode.nix ]; flake.nixosModules = { diff --git a/overlays/courier-unicode.nix b/overlays/courier-unicode.nix new file mode 100644 index 0000000..d000cdb --- /dev/null +++ b/overlays/courier-unicode.nix @@ -0,0 +1,25 @@ +{ lib, ... }: +let + inherit (lib) + singleton; + + pname = "courier-unicode"; + version = "2.2.6"; +in +{ + flake.overlays.courier-unicode = + final: prev: + { + courier-unicode = + prev.stdenv.mkDerivation rec { + inherit pname version; + + src = prev.fetchurl { + url = "mirror://sourceforge/courier/courier-unicode/${version}/${pname}-${version}.tar.bz2"; + sha256 = "sha256-UT9oBm7RkqzmMPYBmExWW1wdHIHZjGR46+Tts6Fb4Do="; + }; + + nativeBuildInputs = singleton prev.perl; + }; + }; +}