Unverified Commit 7fa92912 authored by Domen Kožar's avatar Domen Kožar Committed by GitHub
Browse files

Merge pull request #246337 from domenkozar/tesh

init tesh at 0.3.0: TEstable SHell sessions in Markdown
parents 9ea70cf7 86a31e1e
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
{ python3Packages, fetchFromGitHub }:

let
  version = "0.3.0";
in python3Packages.buildPythonPackage rec {
  pname = "tesh";
  inherit version;

  format = "pyproject";

  src = fetchFromGitHub {
    owner = "OceanSprint";
    repo = "tesh";
    rev = version;
    sha256 = "sha256-/CSYz2YXbjKZszb1HMOCS+srVJ+TcFSeLeuz9VvtlI4=";
  };

  prePatch = ''
      substituteInPlace pyproject.toml \
      --replace "poetry.masonry" "poetry.core.masonry"
  '';

  checkInputs = [ python3Packages.pytest ];
  nativeBuildInputs = [ python3Packages.poetry-core ];
  propagatedBuildInputs = with python3Packages; [ click pexpect ];
}
+2 −0
Original line number Diff line number Diff line
@@ -19984,6 +19984,8 @@ with pkgs;
  terrascan = callPackage ../tools/security/terrascan { };
  tesh = callPackage ../tools/text/tesh {};
  texinfo413 = callPackage ../development/tools/misc/texinfo/4.13a.nix { };
  texinfo4 = texinfo413;
  texinfo5 = callPackage ../development/tools/misc/texinfo/5.2.nix { };