Merge pull request #318548 from slashformotion/tbump-init-at-6.11.0

tbump: init at 6.11.0
This commit is contained in:
Pol Dellaiera 2024-06-13 08:10:33 +02:00 committed by GitHub
commit 3bae2ec492
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 95 additions and 0 deletions

View File

@ -19275,6 +19275,11 @@
githubId = 106779009; githubId = 106779009;
name = "Slambert"; name = "Slambert";
}; };
slashformotion = {
github = "slashformotion";
githubId = 45801817;
name = "slashformotion";
};
slbtty = { slbtty = {
email = "shenlebantongying@gmail.com"; email = "shenlebantongying@gmail.com";
github = "shenlebantongying"; github = "shenlebantongying";

View File

@ -0,0 +1,41 @@
{
lib,
fetchPypi,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "tbump";
version = "6.11.0";
pyproject = true;
disabled = python3Packages.pythonOlder "3.8";
src = fetchPypi {
inherit version;
pname = "tbump";
hash = "sha256-OF5xDu3wqKb/lZzx6fPP0XyHNhcTL8DsX2Ka8MNVyHA=";
};
pythonRelaxDeps = [ "tomlkit" ];
nativeBuildInputs = with python3Packages; [ pythonRelaxDepsHook ];
build-system = with python3Packages; [ poetry-core ];
dependencies = with python3Packages; [
docopt
schema
packaging
poetry-core
tomlkit
cli-ui
];
meta = {
description = "Bump software releases";
homepage = "https://github.com/your-tools/tbump";
license = lib.licenses.bsd3;
mainProgram = "tbump";
maintainers = with lib.maintainers; [ slashformotion ];
};
}

View File

@ -0,0 +1,47 @@
{
lib,
python3Packages,
fetchPypi,
pytestCheckHook,
pythonRelaxDepsHook,
pythonOlder,
poetry-core,
colorama,
tabulate,
unidecode,
}:
python3Packages.buildPythonPackage rec {
pname = "cli-ui";
version = "0.17.2";
pyproject = true;
disabled = pythonOlder "3.8.1";
src = fetchPypi {
inherit pname version;
hash = "sha256-L2flDPR052rRYMPmYLutmL+LjfuNhHdl86Jht+E8Bfo=";
};
pythonRelaxDeps = [ "tabulate" ];
nativeBuildInputs = [ pythonRelaxDepsHook ];
build-system = [ poetry-core ];
dependencies = [
colorama
tabulate
unidecode
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cli_ui" ];
meta = with lib; {
description = "Build Nice User Interfaces In The Terminal";
homepage = "https://github.com/your-tools/python-cli-ui";
license = licenses.bsd3;
maintainers = with maintainers; [ slashformotion ];
};
}

View File

@ -2206,6 +2206,8 @@ self: super: with self; {
clf = callPackage ../development/python-modules/clf { }; clf = callPackage ../development/python-modules/clf { };
cli-ui = callPackage ../development/python-modules/cli-ui { };
clip = callPackage ../development/python-modules/clip { }; clip = callPackage ../development/python-modules/clip { };
clip-anytorch = callPackage ../development/python-modules/clip-anytorch { }; clip-anytorch = callPackage ../development/python-modules/clip-anytorch { };