45 lines
847 B
Nix
45 lines
847 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, lib
|
|
|
|
# pythonPackages
|
|
, azure-core
|
|
, cryptography
|
|
, msrest
|
|
, futures
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-storage-file-share";
|
|
version = "12.1.1";
|
|
disabled = !isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
sha256 = "661ed9669b9fbb3163899294d28f11f7c135336e1513aab6bd1ff9ef3c6febb3";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
azure-core
|
|
cryptography
|
|
msrest
|
|
];
|
|
|
|
# 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
|
|
];
|
|
};
|
|
}
|