depot/third_party/nixpkgs/pkgs/development/python-modules/azure-synapse-spark/default.nix

43 lines
942 B
Nix
Raw Normal View History

{
lib,
azure-common,
azure-core,
buildPythonPackage,
fetchPypi,
msrest,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "azure-synapse-spark";
version = "0.7.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-hvopRjokt8NwJf8hUJtw42tNrOKOXZIAG8kgSINQrNU=";
extension = "zip";
};
build-system = [ setuptools ];
dependencies = [
azure-common
azure-core
msrest
];
pythonImportsCheck = [ "azure.synapse.spark" ];
meta = with lib; {
description = "Microsoft Azure Synapse Spark Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/synapse/azure-synapse-spark";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-synapse-spark_${version}/sdk/synapse/azure-synapse-spark/CHANGELOG.md";
license = licenses.mit;
maintainers = [ ];
};
}