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.
30 lines
745 B
Nix
30 lines
745 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "urxvt-perls";
|
|
version = "2.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "muennich";
|
|
repo = "urxvt-perls";
|
|
rev = version;
|
|
sha256 = "0xvwfw7965ghhd9g6rl6y6fgpd444l46rjqmlgg0rfjypbh6c0p1";
|
|
};
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/lib/urxvt/perl
|
|
cp keyboard-select $out/lib/urxvt/perl
|
|
cp deprecated/clipboard \
|
|
deprecated/url-select \
|
|
$out/lib/urxvt/perl
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Perl extensions for the rxvt-unicode terminal emulator";
|
|
homepage = "https://github.com/muennich/urxvt-perls";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|