Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
811 B
Nix
37 lines
811 B
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
perlPackages,
|
|
pkg-config,
|
|
fribidi,
|
|
}:
|
|
|
|
perlPackages.buildPerlPackage rec {
|
|
pname = "urxvt-bidi";
|
|
version = "2.15";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://cpan/authors/id/K/KA/KAMENSKY/Text-Bidi-${version}.tar.gz";
|
|
sha256 = "1w65xbi4mw5acsrpv3phyzv82ghb29kpbb3b1b1gcinlfxl6f61m";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
perlPackages.ExtUtilsPkgConfig
|
|
];
|
|
buildInputs = [ fribidi ];
|
|
|
|
postInstall = ''
|
|
install -Dm555 misc/bidi "$out/lib/urxvt/perl/bidi"
|
|
'';
|
|
|
|
passthru.perlPackages = [ "self" ];
|
|
|
|
meta = with lib; {
|
|
description = "Text::Bidi Perl package using fribidi, providing a urxvt plugin";
|
|
homepage = "https://github.com/mkamensky/Text-Bidi";
|
|
maintainers = with maintainers; [ doronbehar ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|