Merge pull request #156604 from rnhmjoj/pr-rxvt

This commit is contained in:
Franz Pletz 2022-01-25 10:34:40 +01:00 committed by GitHub
commit 5cbff8a564
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 2 deletions

View file

@ -2,6 +2,7 @@
, libX11, libXt, libXft, libXrender
, ncurses, fontconfig, freetype
, pkg-config, gdk-pixbuf, perl
, libptytty
, perlSupport ? true
, gdkPixbufSupport ? true
, unicode3Support ? true
@ -9,7 +10,7 @@
let
pname = "rxvt-unicode";
version = "9.26";
version = "9.30";
description = "A clone of the well-known terminal emulator rxvt";
desktopItem = makeDesktopItem {
@ -31,12 +32,13 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${version}.tar.bz2";
sha256 = "12y9p32q0v7n7rhjla0j2g9d5rj2dmwk20c9yhlssaaxlawiccb4";
sha256 = "0badnkjsn3zps24r5iggj8k5v4f00npc77wqg92pcn1q5z8r677y";
};
buildInputs =
[ libX11 libXt libXft ncurses # required to build the terminfo file
fontconfig freetype pkg-config libXrender
libptytty
] ++ optional perlSupport perl
++ optional gdkPixbufSupport gdk-pixbuf;

View file

@ -0,0 +1,26 @@
{ stdenv
, lib
, fetchurl
, cmake
}:
stdenv.mkDerivation rec {
pname = "libptytty";
version = "2.0";
src = fetchurl {
url = "http://dist.schmorp.de/libptytty/${pname}-${version}.tar.gz";
sha256 = "1xrikmrsdkxhdy9ggc0ci6kg5b1hn3bz44ag1mk5k1zjmlxfscw0";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "OS independent and secure pty/tty and utmp/wtmp/lastlog";
homepage = "http://dist.schmorp.de/libptytty";
maintainers = with maintainers; [ rnhmjoj ];
platforms = platforms.unix;
license = licenses.gpl2;
};
}

View file

@ -18417,6 +18417,8 @@ with pkgs;
libpst = callPackage ../development/libraries/libpst { };
libptytty = callPackage ../development/libraries/libptytty { };
libpwquality = callPackage ../development/libraries/libpwquality { };
libqalculate = callPackage ../development/libraries/libqalculate {