ttyrec: 1.0.8 -> ovh-ttyrec 1.1.6.6 (#108182)

Replace unmaintained/broken upstream ttyrec with a maintained, compatible fork
This commit is contained in:
Charles Duffy
2021-01-02 19:20:31 +00:00
committed by GitHub
parent 4856e0d285
commit 854096fa4f
5 changed files with 34 additions and 54 deletions
+29
View File
@@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub, zstd }:
stdenv.mkDerivation rec {
pname = "ovh-ttyrec";
version = "1.1.6.6";
src = fetchFromGitHub {
owner = "ovh";
repo = "ovh-ttyrec";
rev = "v${version}";
sha256 = "176g3k2pzw6zpvmcc2f8idn6vhlygf7lfzxvrhysav2izc5dd130";
};
nativeBuildInputs = [ zstd ];
installPhase = ''
mkdir -p $out/{bin,man}
cp ttytime ttyplay ttyrec $out/bin
cp docs/*.1 $out/man
'';
meta = with stdenv.lib; {
homepage = "https://github.com/ovh/ovh-ttyrec/";
description = "Terminal interaction recorder and player";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ chaduffy zimbatm ];
};
}