mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.rich-toolkit: 0.17.1 -> 0.20.1 (#533361)
This commit is contained in:
commit
92bd8a9b6b
1 changed files with 11 additions and 6 deletions
|
|
@ -17,18 +17,23 @@
|
|||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "rich-toolkit";
|
||||
version = "0.17.1";
|
||||
version = "0.20.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "patrick91";
|
||||
repo = "rich-toolkit";
|
||||
tag = version;
|
||||
hash = "sha256-69x760lnMdwrNFUL1g9PBlTRGz34Ur2CHWbJq7PqBmk=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-XYSksCMCCxO6wzsEEJ6X340iT32hU5n/EikKLZ2m7A0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# the commit updating the version happens only after tagging
|
||||
sed -i 's/version = ".*"/version = "${finalAttrs.version}"/' pyproject.toml
|
||||
'';
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
|
|
@ -46,10 +51,10 @@ buildPythonPackage rec {
|
|||
pythonImportsCheck = [ "rich_toolkit" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/patrick91/rich-toolkit/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/patrick91/rich-toolkit/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
description = "Rich toolkit for building command-line applications";
|
||||
homepage = "https://github.com/patrick91/rich-toolkit/";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue