python3Packages.tendo: init at 0.4.0

This commit is contained in:
Sandro Jäckel 2024-03-04 00:59:38 +01:00
parent 3b64a4e13d
commit 3b2d1bebd6
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, setuptools
, setuptools-scm
}:
buildPythonPackage rec {
pname = "tendo";
version = "0.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pycontribs";
repo = "tendo";
rev = "refs/tags/v${version}";
hash = "sha256-ZOozMGxAKcEtmUEzHCFSojKc+9Ha+T2MOTmMvdMqNuQ=";
};
postPatch = ''
# marken broken and not required
sed -i '/setuptools_scm_git_archive/d' pyproject.toml
# unused
substituteInPlace setup.cfg \
--replace-fail "six" ""
'';
nativeBuildInputs = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"tendo"
];
meta = with lib; {
description = "Adds basic functionality that is not provided by Python";
homepage = "https://github.com/pycontribs/tendo";
changelog = "https://github.com/pycontribs/tendo/releases/tag/v${version}";
license = licenses.psfl;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View File

@ -14447,6 +14447,8 @@ self: super: with self; {
tencentcloud-sdk-python = callPackage ../development/python-modules/tencentcloud-sdk-python { };
tendo = callPackage ../development/python-modules/tendo { };
tensorboard-data-server = callPackage ../development/python-modules/tensorboard-data-server { };
tensorboard-plugin-profile = callPackage ../development/python-modules/tensorboard-plugin-profile { };