diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/text/tesh')
-rw-r--r-- | nixpkgs/pkgs/tools/text/tesh/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/text/tesh/default.nix b/nixpkgs/pkgs/tools/text/tesh/default.nix new file mode 100644 index 000000000000..d4d2c1e0ed71 --- /dev/null +++ b/nixpkgs/pkgs/tools/text/tesh/default.nix @@ -0,0 +1,21 @@ +{ python3Packages, fetchFromGitHub }: + +let + version = "0.3.2"; +in python3Packages.buildPythonPackage rec { + pname = "tesh"; + inherit version; + + format = "pyproject"; + + src = fetchFromGitHub { + owner = "OceanSprint"; + repo = "tesh"; + rev = version; + hash = "sha256-GIwg7Cv7tkLu81dmKT65c34eeVnRR5MIYfNwTE7j2Vs="; + }; + + checkInputs = [ python3Packages.pytest ]; + nativeBuildInputs = [ python3Packages.poetry-core ]; + propagatedBuildInputs = with python3Packages; [ click pexpect ]; +} |