diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2015-07-05 00:10:31 -0400 |
---|---|---|
committer | Charles Strahan <charles.c.strahan@gmail.com> | 2015-07-05 00:12:50 -0400 |
commit | e199d9e844e002852e142268fdc1143000dfbf6f (patch) | |
tree | 3471042e12d811a96de5eb044533454cd065827b /pkgs/applications/misc/rxvt_unicode-plugins | |
parent | b986bdf29dca3e4dfe1b55ddc5d44aead19679fb (diff) | |
download | nixpkgs-e199d9e844e002852e142268fdc1143000dfbf6f.tar nixpkgs-e199d9e844e002852e142268fdc1143000dfbf6f.tar.gz nixpkgs-e199d9e844e002852e142268fdc1143000dfbf6f.tar.bz2 nixpkgs-e199d9e844e002852e142268fdc1143000dfbf6f.tar.lz nixpkgs-e199d9e844e002852e142268fdc1143000dfbf6f.tar.xz nixpkgs-e199d9e844e002852e142268fdc1143000dfbf6f.tar.zst nixpkgs-e199d9e844e002852e142268fdc1143000dfbf6f.zip |
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
Diffstat (limited to 'pkgs/applications/misc/rxvt_unicode-plugins')
-rw-r--r-- | pkgs/applications/misc/rxvt_unicode-plugins/urxvt-perl/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-perl/default.nix b/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-perl/default.nix new file mode 100644 index 00000000000..dfcdeaa9d4e --- /dev/null +++ b/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-perl/default.nix @@ -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 ]; + }; +} |