mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
python3Packages.azure-storage-file: modernize
This commit is contained in:
@@ -9,14 +9,16 @@
|
||||
futures ? null,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "azure-storage-file";
|
||||
version = "2.1.0";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3559b9c7ab13450c66ea833eb82c28233bee24f1bd8ca19aa7d27f8c23d5bc53";
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-NVm5x6sTRQxm6oM+uCwoIzvuJPG9jKGap9J/jCPVvFM=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -30,10 +32,12 @@ buildPythonPackage rec {
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.storage.file" ];
|
||||
|
||||
meta = {
|
||||
description = "Client library for Microsoft Azure Storage services containing the file service APIs";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ cmcdragonkai ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user