Commit 1479ddba authored by Robert Schütz's avatar Robert Schütz
Browse files
parent 89df43f4
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
@@ -2,28 +2,28 @@
  lib,
  azure-core,
  buildPythonPackage,
  fetchPypi,
  pythonOlder,
  fetchFromGitHub,
  setuptools,
  typing-extensions,
}:

buildPythonPackage rec {
  pname = "azure-eventhub";
  version = "5.14.0";
  version = "5.15.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    pname = "azure_eventhub";
    inherit version;
    hash = "sha256-UTCICIQQGpalfLfFs3xksECYd0KdVMDVcDeLTwt7bTU=";
  src = fetchFromGitHub {
    owner = "Azure";
    repo = "azure-sdk-for-python";
    tag = "azure-eventhub_${version}";
    hash = "sha256-zpj1DUeFCXgVw44LcBCYtuFcQtA9BnrDKAxKSYzu4ts=";
  };

  nativeBuildInputs = [ setuptools ];
  sourceRoot = "${src.name}/sdk/eventhub/azure-eventhub";

  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    azure-core
    typing-extensions
  ];
@@ -39,7 +39,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Microsoft Azure Event Hubs Client Library for Python";
    homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventhub/azure-eventhub";
    changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-eventhub_${version}/sdk/eventhub/azure-eventhub/CHANGELOG.md";
    changelog = "https://github.com/Azure/azure-sdk-for-python/blob/${src.tag}/sdk/eventhub/azure-eventhub/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ dotlambda ];
  };