nixpkgs/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-perls/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

30 lines
703 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "urxvt-perls";
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 ];
platforms = with platforms; unix;
};
}