bba55970ba
GitOrigin-RevId: 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde
29 lines
697 B
Nix
29 lines
697 B
Nix
{ lib, stdenv, fetchFromGitHub, zstd }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ovh-ttyrec";
|
|
version = "1.1.6.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ovh";
|
|
repo = "ovh-ttyrec";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-OkSs0Cu79u53+fN57px48f6kJKuOJLjGUar+lLTdUJU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ zstd ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/{bin,man}
|
|
cp ttytime ttyplay ttyrec $out/bin
|
|
cp docs/*.1 $out/man
|
|
'';
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|