mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 11:50:06 +00:00
[Backport staging-26.05] python3Packages.pyjwt: 2.13.0 -> 2.14.0 (#562624)
This commit is contained in:
@@ -11,16 +11,16 @@
|
||||
oauthlib,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pyjwt";
|
||||
version = "2.13.0";
|
||||
version = "2.14.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jpadilla";
|
||||
repo = "pyjwt";
|
||||
tag = version;
|
||||
hash = "sha256-q4ynXCJVDsyZh70439dloyWgRTLVm+elDOahUVOT5vA=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-SxJ2GQt1pfm8iAeTB2RmH2kliGeQ6whkM5nuesI1s/U=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
@@ -38,7 +38,10 @@ buildPythonPackage rec {
|
||||
|
||||
optional-dependencies.crypto = [ cryptography ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ] ++ (lib.concatAttrValues optional-dependencies);
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
]
|
||||
++ (lib.concatAttrValues finalAttrs.passthru.optional-dependencies);
|
||||
|
||||
disabledTests = [
|
||||
# requires internet connection
|
||||
@@ -52,10 +55,10 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/jpadilla/pyjwt/blob/${version}/CHANGELOG.rst";
|
||||
changelog = "https://github.com/jpadilla/pyjwt/blob/${finalAttrs.src.tag}/CHANGELOG.rst";
|
||||
description = "JSON Web Token implementation in Python";
|
||||
homepage = "https://github.com/jpadilla/pyjwt";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ prikhi ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user