1{ stdenv
2, lib
3, fetchurl
4, cmake
5}:
6
7stdenv.mkDerivation rec {
8 pname = "libptytty";
9 version = "2.0";
10
11 src = fetchurl {
12 url = "http://dist.schmorp.de/libptytty/${pname}-${version}.tar.gz";
13 sha256 = "1xrikmrsdkxhdy9ggc0ci6kg5b1hn3bz44ag1mk5k1zjmlxfscw0";
14 };
15
16 nativeBuildInputs = [ cmake ];
17
18 meta = with lib; {
19 description = "OS independent and secure pty/tty and utmp/wtmp/lastlog";
20 homepage = "http://dist.schmorp.de/libptytty";
21 maintainers = with maintainers; [ rnhmjoj ];
22 platforms = platforms.unix;
23 license = licenses.gpl2;
24 };
25
26}