forked from mirrors/nixpkgs
2bb3a9da24
This is a mostly cosmetical commit, in the sense it doesn't change the contents of any package, but reorganizes the overall Nixpkgs expressions. Terminal emulators are an ubiquitous tool for any Unix user; even the beginners are routinely familiarized to it. And, manifestly, there are many implementations of terminal emulators out there, from those traditionally made in C and C++ to those written in Haskell and Go. Terminal emulators deserve more highlight. This commit does that by creating a category for them.
28 lines
788 B
Nix
28 lines
788 B
Nix
{ lib, fetchurl, perlPackages, pkgconfig, 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 = [ pkgconfig 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;
|
|
};
|
|
}
|