mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-10 01:26:59 +00:00
python311Packages.msal-extensions: 1.0.0 -> 1.1.0
Diff: https://github.com/AzureAD/microsoft-authentication-extensions-for-python/compare/refs/tags/1.0.0...1.1.0 Changelog: https://github.com/AzureAD/microsoft-authentication-extensions-for-python/releases/tag/1.1.0
This commit is contained in:
parent
bfec64e243
commit
901f600618
@ -1,46 +1,47 @@
|
|||||||
{ buildPythonPackage
|
{ lib
|
||||||
, fetchPypi
|
, buildPythonPackage
|
||||||
, lib
|
, fetchFromGitHub
|
||||||
, isPy27
|
|
||||||
|
|
||||||
# pythonPackages
|
|
||||||
, msal
|
, msal
|
||||||
, pathlib2
|
|
||||||
, portalocker
|
, portalocker
|
||||||
|
, setuptools
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "msal-extensions";
|
pname = "msal-extensions";
|
||||||
version = "1.0.0";
|
version = "1.1.0";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
disabled = pythonOlder "3.7";
|
||||||
inherit pname version;
|
|
||||||
hash = "sha256-xnarpWsMzjeD3htcXs/oKNuZgWeHUSbKS0fcZDZFE1Q=";
|
src = fetchFromGitHub {
|
||||||
|
owner = "AzureAD";
|
||||||
|
repo = "microsoft-authentication-extensions-for-python";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-ScInTvOgFxP5mgep5FRu6YZHPTtXhrcZGFE7Wdvcm4c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
msal
|
msal
|
||||||
portalocker
|
portalocker
|
||||||
] ++ lib.optionals isPy27 [
|
|
||||||
pathlib2
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# upstream doesn't update this requirement probably because they use pip
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "portalocker~=1.0" "portalocker"
|
|
||||||
'';
|
|
||||||
|
|
||||||
# No tests found
|
# No tests found
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"msal_extensions"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The Microsoft Authentication Library Extensions (MSAL-Extensions) for Python";
|
description = "The Microsoft Authentication Library Extensions (MSAL-Extensions) for Python";
|
||||||
homepage = "https://github.com/AzureAD/microsoft-authentication-extensions-for-python";
|
homepage = "https://github.com/AzureAD/microsoft-authentication-extensions-for-python";
|
||||||
|
changelog = "https://github.com/AzureAD/microsoft-authentication-extensions-for-python/releases/tag/${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [
|
maintainers = with maintainers; [ kamadorueda ];
|
||||||
kamadorueda
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user