diff --git a/pkgs/development/python-modules/azure-mgmt-automation/default.nix b/pkgs/development/python-modules/azure-mgmt-automation/default.nix index 563c1d9cdb23..e69405790457 100644 --- a/pkgs/development/python-modules/azure-mgmt-automation/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-automation/default.nix @@ -8,14 +8,14 @@ azure-mgmt-core, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "azure-mgmt-automation"; version = "1.0.1"; pyproject = true; src = fetchPypi { pname = "azure_mgmt_automation"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-A/NYbg/gllws7cp5plM4CHKuYnwm6lNlpVuqTq1aeO8="; }; @@ -35,8 +35,8 @@ buildPythonPackage rec { meta = { description = "This is the Microsoft Azure Automation Client Library"; homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/automation/azure-mgmt-automation"; - changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_${version}/sdk/automation/azure-mgmt-automation/CHANGELOG.md"; + changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-automation_${finalAttrs.version}/sdk/automation/azure-mgmt-automation/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ wfdewith ]; }; -} +})