mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
urxvt-perl: init at 2015-01-16
Includes two extensions for `urxvt`: * fullscreen: Toggle fullscreen for terminal * newterm: Open a new terminal in your current working directory
This commit is contained in:
parent
b986bdf29d
commit
e199d9e844
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchFromGitHub, wmctrl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "urxvt-perl-2015-01-16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "effigies";
|
||||
repo = "urxvt-perl";
|
||||
rev = "c3beb9ff09a7139591416c61f8e9458c8a23bea5";
|
||||
sha256 = "1w1p8ng7bwq5hnaprjl1zf073y5l3hdsj7sz7cll6isjswcm6r0s";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
substituteInPlace fullscreen \
|
||||
--replace "wmctrl" "${wmctrl}/bin/wmctrl"
|
||||
|
||||
mkdir -p $out/lib/urxvt/perl
|
||||
cp fullscreen $out/lib/urxvt/perl
|
||||
cp newterm $out/lib/urxvt/perl
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Perl extensions for the rxvt-unicode terminal emulator";
|
||||
homepage = "https://github.com/effigies/urxvt-perl";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ cstrahan ];
|
||||
};
|
||||
}
|
@ -12469,12 +12469,13 @@ let
|
||||
};
|
||||
|
||||
# urxvt plugins
|
||||
urxvt_perl = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-perl { };
|
||||
urxvt_perls = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-perls { };
|
||||
urxvt_tabbedex = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-tabbedex { };
|
||||
urxvt_font_size = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-font-size { };
|
||||
|
||||
rxvt_unicode-with-plugins = callPackage ../applications/misc/rxvt_unicode/wrapper.nix {
|
||||
plugins = [ urxvt_perls urxvt_tabbedex urxvt_font_size ];
|
||||
plugins = [ urxvt_perl urxvt_perls urxvt_tabbedex urxvt_font_size ];
|
||||
};
|
||||
|
||||
# FIXME: remove somewhere in future
|
||||
|
Loading…
Reference in New Issue
Block a user