2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, zstd }:
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2021-01-05 17:05:55 +00:00
|
|
|
homepage = "https://github.com/ovh/ovh-ttyrec/";
|
|
|
|
description = "Terminal interaction recorder and player";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ chaduffy zimbatm ];
|
|
|
|
};
|
|
|
|
}
|