init tesh at 0.3.0: TEstable SHell sessions in Markdown

This commit is contained in:
Domen Kožar 2023-07-31 12:20:48 +01:00
parent 0b5456b363
commit 86a31e1efa
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ 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 ];
}

View File

@ -19982,6 +19982,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 { };