mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
python3Packages.azure-storage-file: migrate to pyproject (#528406)
This commit is contained in:
@@ -2,23 +2,28 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
azure-common,
|
||||
azure-storage-common,
|
||||
isPy3k,
|
||||
futures ? null,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "azure-storage-file";
|
||||
version = "2.1.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3559b9c7ab13450c66ea833eb82c28233bee24f1bd8ca19aa7d27f8c23d5bc53";
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-NVm5x6sTRQxm6oM+uCwoIzvuJPG9jKGap9J/jCPVvFM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
azure-common
|
||||
azure-storage-common
|
||||
]
|
||||
@@ -27,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