python310Packages.argh: 0.26.2 -> 0.27.1

Changelog: https://github.com/neithere/argh/blob/v0.27.1/CHANGES
This commit is contained in:
Robert Schütz 2023-02-08 17:15:07 -08:00
parent 853288c39d
commit 9ab885479e

View file

@ -9,22 +9,13 @@
buildPythonPackage rec {
pname = "argh";
version = "0.26.2";
version = "0.27.1";
src = fetchPypi {
inherit pname version;
sha256 = "e9535b8c84dc9571a48999094fda7f33e63c3f1b74f3e5f3ac0105a58405bb65";
hash = "sha256-2wbZEIHxck40fM23iclXD+yUc351WvFZiDcpPgH8TNI=";
};
patches = [
# https://github.com/neithere/argh/issues/148
(fetchpatch {
name = "argh-0.26.2-fix-py3.9-msgs.patch";
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-python/argh/files/argh-0.26.2-fix-py3.9-msgs.patch?id=6f194f12a2e30aad7da347848f7b0187e188f983";
sha256 = "nBmhF2PXVeS7cBNujzip6Bb601LRHrjmhlGKFr/++Oo=";
})
];
nativeCheckInputs = [
iocapture
mock
@ -34,6 +25,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "argh" ];
meta = with lib; {
changelog = "https://github.com/neithere/argh/blob/v${version}/CHANGES";
homepage = "https://github.com/neithere/argh";
description = "An unobtrusive argparse wrapper with natural syntax";
license = licenses.lgpl3Plus;