Files
nixpkgs/pkgs/development/python-modules/azure-mgmt-core/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

38 lines
772 B
Nix

{ pkgs
, buildPythonPackage
, fetchPypi
, azure-core
, typing-extensions
}:
buildPythonPackage rec {
version = "1.4.0";
format = "setuptools";
pname = "azure-mgmt-core";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-0ZUgg0AJT5jlpmYbeBzeb2oFHnnOMXyqvY/5cDCps64=";
};
propagatedBuildInputs = [
azure-core
typing-extensions
];
pythonNamespaces = "azure.mgmt";
# not included
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.core" "azure.core" ];
meta = with pkgs.lib; {
description = "Microsoft Azure Management Core Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}