mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
69 lines
1.3 KiB
Nix
69 lines
1.3 KiB
Nix
{
|
|
addBinToPathHook,
|
|
blessed,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
lib,
|
|
pexpect,
|
|
prettytable,
|
|
pytest-asyncio,
|
|
pytest-cov-stub,
|
|
pytest-timeout,
|
|
pytest-xdist,
|
|
pytestCheckHook,
|
|
trustme,
|
|
wcwidth,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "telnetlib3";
|
|
version = "4.0.5";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jquast";
|
|
repo = "telnetlib3";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-qJ9fbly8nNCOppLxEnzmKTE0CbbORnkANvbioSZUgmk=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
pythonRelaxDeps = [
|
|
"wcwidth"
|
|
];
|
|
|
|
dependencies = [
|
|
blessed
|
|
wcwidth
|
|
];
|
|
|
|
optional-dependencies = {
|
|
extras = [
|
|
prettytable
|
|
# FIXME package ucs-detect
|
|
];
|
|
};
|
|
|
|
pythonImportsCheck = [ "telnetlib3" ];
|
|
|
|
nativeCheckInputs = [
|
|
addBinToPathHook
|
|
pexpect
|
|
pytest-asyncio
|
|
pytest-cov-stub
|
|
pytest-timeout
|
|
pytest-xdist
|
|
pytestCheckHook
|
|
trustme
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/jquast/telnetlib3/blob/${finalAttrs.src.tag}/docs/history.rst";
|
|
description = "Feature-rich Telnet Server, Client, and Protocol library for Python";
|
|
homepage = "https://github.com/jquast/telnetlib3";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ lib.maintainers.dotlambda ];
|
|
};
|
|
})
|