2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, zstd }:
|
2021-01-02 19:20:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ovh-ttyrec";
|
2021-04-05 15:11:28 +01:00
|
|
|
version = "1.1.6.7";
|
2021-01-02 19:20:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ovh";
|
|
|
|
repo = "ovh-ttyrec";
|
|
|
|
rev = "v${version}";
|
2021-04-05 15:11:28 +01:00
|
|
|
sha256 = "sha256-OkSs0Cu79u53+fN57px48f6kJKuOJLjGUar+lLTdUJU=";
|
2021-01-02 19:20:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ zstd ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/{bin,man}
|
|
|
|
cp ttytime ttyplay ttyrec $out/bin
|
|
|
|
cp docs/*.1 $out/man
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-01-02 19:20:31 +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 ];
|
|
|
|
};
|
|
|
|
}
|