nixpkgs/pkgs/development/python-modules/azure-storage-file-share/default.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.13.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-ozqVIWPvAl0doaqK77P+VBhx9q+6Ljk/q7WrAP2ZPm8=";
};
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 ];
};
}