nixpkgs/pkgs/development/python-modules/azure-mgmt-core/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

37 lines
747 B
Nix

{ pkgs
, buildPythonPackage
, fetchPypi
, azure-core
, typing-extensions
}:
buildPythonPackage rec {
version = "1.3.2";
pname = "azure-mgmt-core";
src = fetchPypi {
inherit pname version;
extension = "zip";
hash = "sha256-B/Sv6COlXXBLBI1h7f3BMYwFHtWfJEAyEmNQvpXp1QE=";
};
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 ];
};
}