summary refs log tree commit diff
path: root/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-perls/default.nix
blob: 98f2e0d61083fe24e6ac788622815219281d56ba (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
{ stdenv, fetchgit }:

stdenv.mkDerivation {
  name = "urxvt-perls";

  src = fetchgit {
    url = "https://github.com/muennich/urxvt-perls";
    rev = "4dec629b3631297d17855c35be1b723e2d9e7591";
    sha256 = "c61bc8819b4e6655ed4a3ce3b347cb6dbebcb484d5d3973cbe9aa7f2c98d372f";
  };

  installPhase = ''
    mkdir -p $out/lib/urxvt/perl
    cp clipboard \
       keyboard-select \
       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 = maintainers.abbradar;
  };
}