depot/third_party/nixpkgs/pkgs/tools/misc/ovh-ttyrec/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

29 lines
698 B
Nix

{ lib, 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 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 ];
};
}