summary refs log tree commit diff
path: root/pkgs/applications/misc/rxvt-unicode-plugins/urxvt-perls/default.nix
blob: dac0414107070afab1a2646698cca99e60d6c3ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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;
  };
}