mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
abdf5dc772
It is is now provided automatically, when `pythonRelaxDeps` or `pythonRemoveDeps` is defined through `mk-python-derivation`.
41 lines
786 B
Nix
41 lines
786 B
Nix
{
|
|
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" ];
|
|
|
|
|
|
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 ];
|
|
};
|
|
}
|