rxvt_unicode: create .desktop file
This commit is contained in:
parent
75d9dc8516
commit
70c18b55d7
@ -1,10 +1,21 @@
|
||||
{ stdenv, fetchurl, perlSupport, libX11, libXt, libXft, ncurses, perl,
|
||||
fontconfig, freetype, pkgconfig, libXrender, gdkPixbufSupport, gdk_pixbuf,
|
||||
unicode3Support }:
|
||||
{ stdenv, fetchurl, makeDesktopItem, perlSupport, libX11, libXt, libXft,
|
||||
ncurses, perl, fontconfig, freetype, pkgconfig, libXrender,
|
||||
gdkPixbufSupport, gdk_pixbuf, unicode3Support }:
|
||||
|
||||
let
|
||||
pname = "rxvt-unicode";
|
||||
version = "9.22";
|
||||
description = "A clone of the well-known terminal emulator rxvt";
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "${pname}";
|
||||
exec = "urxvt";
|
||||
icon = "utilities-terminal";
|
||||
comment = description;
|
||||
desktopName = "URxvt";
|
||||
genericName = "${pname}";
|
||||
categories = "System;TerminalEmulator;";
|
||||
};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
@ -47,13 +58,14 @@ stdenv.mkDerivation (rec {
|
||||
postInstall = ''
|
||||
mkdir -p $out/nix-support
|
||||
echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
|
||||
cp -r ${desktopItem}/share/applications/ $out/share/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A clone of the well-known terminal emulator rxvt";
|
||||
meta = with stdenv.lib; {
|
||||
inherit description;
|
||||
homepage = "http://software.schmorp.de/pkg/rxvt-unicode.html";
|
||||
downloadPage = "http://dist.schmorp.de/rxvt-unicode/Attic/";
|
||||
maintainers = [ stdenv.lib.maintainers.mornfall ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ maintainers.mornfall ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user