48 lines
901 B
Nix
48 lines
901 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, azure-core
|
|
, cryptography
|
|
, isodate
|
|
, msrest
|
|
, typing-extensions
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-storage-file-share";
|
|
version = "12.12.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
hash = "sha256-z35H90n8Buy5m2RhKrS9lCJ7mTFJekwnwoZXF8PaoIk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
azure-core
|
|
cryptography
|
|
isodate
|
|
msrest
|
|
typing-extensions
|
|
];
|
|
|
|
# requires 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";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kamadorueda ];
|
|
};
|
|
}
|