5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
46 lines
1 KiB
Nix
46 lines
1 KiB
Nix
{ lib
|
|
, azure-core
|
|
, buildPythonPackage
|
|
, cryptography
|
|
, fetchPypi
|
|
, isodate
|
|
, msrest
|
|
, pythonOlder
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-storage-file-share";
|
|
version = "12.14.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-f1vV13c/NEUYWZ0Tgha+CwpHZJ5AZWdbhFPrTmf5hGA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
azure-core
|
|
cryptography
|
|
isodate
|
|
typing-extensions
|
|
];
|
|
|
|
# Tests require checkout from monorepo
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"azure.core"
|
|
"azure.storage"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Microsoft Azure File Share Storage Client Library for Python";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-file-share_${version}/sdk/storage/azure-storage-file-share/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kamadorueda ];
|
|
};
|
|
}
|