iosevka: 32.4.0 -> 32.5.0 (#378549)
[NixPkgs.git] / pkgs / development / python-modules / azure-mgmt-commerce / default.nix
blob93875a62e84e4069ad01b8cc1e304df2e865fdbc
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   setuptools,
6   msrestazure,
7   azure-common,
8   azure-mgmt-core,
9   azure-mgmt-nspkg,
12 buildPythonPackage rec {
13   pname = "azure-mgmt-commerce";
14   version = "6.0.0";
15   pyproject = true;
17   src = fetchPypi {
18     inherit pname version;
19     extension = "zip";
20     sha256 = "6f5447395503b2318f451d24f8021ee08db1cac44f1c3337ea690700419626b6";
21   };
23   build-system = [ setuptools ];
25   dependencies = [
26     msrestazure
27     azure-common
28     azure-mgmt-core
29     azure-mgmt-nspkg
30   ];
32   prePatch = ''
33     rm -f azure_bdist_wheel.py tox.ini
34     sed -i "/azure-namespace-package/c\ " setup.cfg
35   '';
37   pythonNamespaces = [ "azure.mgmt" ];
39   # has no tests
40   doCheck = false;
41   pythonImportsCheck = [ "azure.mgmt.commerce" ];
43   meta = with lib; {
44     description = "This is the Microsoft Azure Commerce Management Client Library";
45     homepage = "https://github.com/Azure/azure-sdk-for-python";
46     license = licenses.mit;
47     maintainers = with maintainers; [ maxwilson ];
48   };