@@ -1,31 +0,0 @@
1−{ stdenv, fetchurl }:
2−
3−stdenv.mkDerivation rec {
4− pname = "ttyrec";
5− version = "1.0.8";
6−
7− src = fetchurl {
8− url = "http://0xcc.net/ttyrec/${pname}-${version}.tar.gz";
9− sha256 = "ef5e9bf276b65bb831f9c2554cd8784bd5b4ee65353808f82b7e2aef851587ec";
10− };
11−
12− patches = [ ./clang-fixes.patch ];
13−
14− makeFlags = stdenv.lib.optional stdenv.buildPlatform.isLinux "CFLAGS=-DSVR4"
15− ++ stdenv.lib.optional stdenv.cc.isClang "CC=clang";
16−
17− installPhase = ''
18− mkdir -p $out/{bin,man}
19− cp ttytime ttyplay ttyrec $out/bin
20− cp *.1 $out/man
21− '';
22−
23− meta = with stdenv.lib; {
24− homepage = "http://0xcc.net/ttyrec/";
25− description = "Terminal interaction recorder and player";
26− license = licenses.bsd3;
27− platforms = platforms.all;
28− maintainers = with maintainers; [ zimbatm ];
29− broken = true; # 2020-01-28
30− };
31−}