command-error 0.8.0

Detailed error messages and status checking for `std::process::Command`
Documentation
{
  stdenv,
  command-error-docs,
}: let
  inherit (command-error-docs) version;
in
  stdenv.mkDerivation {
    pname = "command-error-docs-tarball";
    inherit version;

    src = command-error-docs;

    dontConfigure = true;
    dontBuild = true;

    installPhase = ''
      dir=command-error-docs-${version}
      mv share/doc \
        "$dir"

      mkdir $out
      tar --create \
        --file $out/command-error-docs-${version}.tar.gz \
        --auto-compress \
        --verbose \
        "$dir"
    '';
  }