diff options
Diffstat (limited to 'pkgs/by-name/ov')
-rw-r--r-- | pkgs/by-name/ov/ovh-ttyrec/package.nix | 29 | ||||
-rw-r--r-- | pkgs/by-name/ov/ovn/generic.nix | 4 |
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/by-name/ov/ovh-ttyrec/package.nix b/pkgs/by-name/ov/ovh-ttyrec/package.nix new file mode 100644 index 0000000000000..550df6531ced7 --- /dev/null +++ b/pkgs/by-name/ov/ovh-ttyrec/package.nix @@ -0,0 +1,29 @@ +{ lib, stdenv, fetchFromGitHub, zstd }: + +stdenv.mkDerivation rec { + pname = "ovh-ttyrec"; + version = "1.1.7.1"; + + src = fetchFromGitHub { + owner = "ovh"; + repo = "ovh-ttyrec"; + rev = "v${version}"; + sha256 = "sha256-VTF9WLwAIWWn+W0sLQaoFBFro+pSXKwcTO6q6MW6JD8="; + }; + + 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 ]; + }; +} diff --git a/pkgs/by-name/ov/ovn/generic.nix b/pkgs/by-name/ov/ovn/generic.nix index a584a9ce15f37..c3dbb8f145d9d 100644 --- a/pkgs/by-name/ov/ovn/generic.nix +++ b/pkgs/by-name/ov/ovn/generic.nix @@ -58,6 +58,10 @@ stdenv.mkDerivation rec { popd ''; + configureFlags = [ + "--localstatedir=/var" + ]; + enableParallelBuilding = true; # disable tests due to networking issues and because individual tests can't be skipped easily |