Add overlay for courier-unicode

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-06-13 23:03:45 +02:00
parent 62d4c68f62
commit 2ef9634a33
2 changed files with 26 additions and 0 deletions

View file

@ -58,6 +58,7 @@
overlays/mautrix-discord.nix
overlays/getmail6
overlays/maildrop
overlays/courier-unicode.nix
];
flake.nixosModules = {

View file

@ -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;
};
};
}