nixpkgs/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-perls/default.nix
2015-10-15 17:06:23 +03:00

29 lines
677 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "urxvt-perls-${version}";
version = "2.2";
src = fetchFromGitHub {
owner = "muennich";
repo = "urxvt-perls";
rev = version;
sha256 = "1cb0jbjmwfy2dlq2ny8wpc04k79jp3pz9qhbmgagsxs3sp1jg2hz";
};
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 = with maintainers; [ abbradar ];
};
}