Merge pull request #246337 from domenkozar/tesh
init tesh at 0.3.0: TEstable SHell sessions in Markdown
This commit is contained in:
commit
7fa92912fd
26
pkgs/tools/text/tesh/default.nix
Normal file
26
pkgs/tools/text/tesh/default.nix
Normal 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 ];
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue