2021-01-19 07:50:56 +01:00
|
|
|
{ lib, fetchurl, perlPackages, pkg-config, fribidi }:
|
2019-11-01 15:36:20 +01:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config perlPackages.ExtUtilsPkgConfig ];
|
2019-11-01 15:36:20 +01:00
|
|
|
buildInputs = [ fribidi ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
install -Dm555 misc/bidi "$out/lib/urxvt/perl/bidi"
|
|
|
|
'';
|
|
|
|
|
2020-01-08 22:58:44 +01:00
|
|
|
passthru.perlPackages = [ "self" ];
|
|
|
|
|
2019-11-01 15:36:20 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|