diff --git a/pkgs/tools/package-management/nixops/azure-mgmt-compute/default.nix b/pkgs/tools/package-management/nixops/azure-mgmt-compute/default.nix deleted file mode 100644 index 462c9e615a13..000000000000 --- a/pkgs/tools/package-management/nixops/azure-mgmt-compute/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ pkgs -, buildPythonPackage -, fetchPypi -, python -, azure-mgmt-common -}: - -buildPythonPackage rec { - version = "0.20.1"; - pname = "azure-mgmt-compute"; - - src = fetchPypi { - inherit pname version; - extension = "zip"; - sha256 = "97298fc7f133f1d50a974ed6299151eda494a574b0f7fdf8192a388015c2215a"; - }; - - preConfigure = '' - # Patch to make this package work on requests >= 2.11.x - # CAN BE REMOVED ON NEXT PACKAGE UPDATE - sed -i 's|len(request_content)|str(len(request_content))|' azure/mgmt/compute/computemanagement.py - ''; - - postInstall = '' - echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py - echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py - ''; - - propagatedBuildInputs = [ azure-mgmt-common ]; - - meta = with pkgs.lib; { - description = "Microsoft Azure SDK for Python"; - homepage = "https://azure.microsoft.com/en-us/develop/python/"; - license = licenses.asl20; - maintainers = with maintainers; [ olcai ]; - }; -} diff --git a/pkgs/tools/package-management/nixops/azure-mgmt-network/default.nix b/pkgs/tools/package-management/nixops/azure-mgmt-network/default.nix deleted file mode 100644 index fd47f8895fd4..000000000000 --- a/pkgs/tools/package-management/nixops/azure-mgmt-network/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ pkgs -, buildPythonPackage -, fetchPypi -, azure-mgmt-common -, python -}: - -buildPythonPackage rec { - version = "0.20.1"; - pname = "azure-mgmt-network"; - - src = fetchPypi { - inherit pname version; - extension = "zip"; - sha256 = "10vj22h6nxpw0qpvib5x2g6qs5j8z31142icvh4qk8k40fcrs9hx"; - }; - - preConfigure = '' - # Patch to make this package work on requests >= 2.11.x - # CAN BE REMOVED ON NEXT PACKAGE UPDATE - sed -i 's|len(request_content)|str(len(request_content))|' azure/mgmt/network/networkresourceprovider.py - ''; - - postInstall = '' - echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py - echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py - ''; - - propagatedBuildInputs = [ azure-mgmt-common ]; - - meta = with pkgs.lib; { - description = "Microsoft Azure SDK for Python"; - homepage = "https://azure.microsoft.com/en-us/develop/python/"; - license = licenses.asl20; - maintainers = with maintainers; [ olcai ]; - }; -} diff --git a/pkgs/tools/package-management/nixops/azure-mgmt-nspkg/default.nix b/pkgs/tools/package-management/nixops/azure-mgmt-nspkg/default.nix deleted file mode 100644 index aa037b48b4f5..000000000000 --- a/pkgs/tools/package-management/nixops/azure-mgmt-nspkg/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ pkgs -, buildPythonPackage -, fetchPypi -, azure-nspkg -}: - -buildPythonPackage rec { - version = "1.0.0"; - pname = "azure-mgmt-nspkg"; - - src = fetchPypi { - inherit pname version; - extension = "zip"; - sha256 = "1rq92fj3kvnqkk18596dybw0kvhgscvc6cd8hp1dhy3wrkqnhwmq"; - }; - - propagatedBuildInputs = [ azure-nspkg ]; - - meta = with pkgs.lib; { - description = "Microsoft Azure SDK for Python"; - homepage = "https://azure.microsoft.com/en-us/develop/python/"; - license = licenses.asl20; - maintainers = with maintainers; [ olcai ]; - }; -} diff --git a/pkgs/tools/package-management/nixops/azure-mgmt-resource/default.nix b/pkgs/tools/package-management/nixops/azure-mgmt-resource/default.nix deleted file mode 100644 index b60e3aee3402..000000000000 --- a/pkgs/tools/package-management/nixops/azure-mgmt-resource/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ pkgs -, buildPythonPackage -, fetchPypi -, python -, azure-mgmt-common -}: - - -buildPythonPackage rec { - version = "0.20.1"; - pname = "azure-mgmt-resource"; - - src = fetchPypi { - inherit pname version; - extension = "zip"; - sha256 = "0slh9qfm5nfacrdm3lid0sr8kwqzgxvrwf27laf9v38kylkfqvml"; - }; - - preConfigure = '' - # Patch to make this package work on requests >= 2.11.x - # CAN BE REMOVED ON NEXT PACKAGE UPDATE - sed -i 's|len(request_content)|str(len(request_content))|' azure/mgmt/resource/resourcemanagement.py - ''; - - postInstall = '' - echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py - echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py - ''; - - propagatedBuildInputs = [ azure-mgmt-common ]; - - meta = with pkgs.lib; { - description = "Microsoft Azure SDK for Python"; - homepage = "https://azure.microsoft.com/en-us/develop/python/"; - license = licenses.asl20; - maintainers = with maintainers; [ olcai ]; - }; -} diff --git a/pkgs/tools/package-management/nixops/azure-mgmt-storage/default.nix b/pkgs/tools/package-management/nixops/azure-mgmt-storage/default.nix deleted file mode 100644 index 2e0523bb25cc..000000000000 --- a/pkgs/tools/package-management/nixops/azure-mgmt-storage/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ pkgs -, buildPythonPackage -, fetchPypi -, python -, azure-mgmt-common -}: - -buildPythonPackage rec { - version = "0.20.0"; - pname = "azure-mgmt-storage"; - - src = fetchPypi { - inherit pname version; - extension = "zip"; - sha256 = "16iw7hqhq97vlzfwixarfnirc60l5mz951p57brpcwyylphl3yim"; - }; - - preConfigure = '' - # Patch to make this package work on requests >= 2.11.x - # CAN BE REMOVED ON NEXT PACKAGE UPDATE - sed -i 's|len(request_content)|str(len(request_content))|' azure/mgmt/storage/storagemanagement.py - ''; - - postInstall = '' - echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py - echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/mgmt/__init__.py - ''; - - propagatedBuildInputs = [ azure-mgmt-common ]; - - meta = with pkgs.lib; { - description = "Microsoft Azure SDK for Python"; - homepage = "https://azure.microsoft.com/en-us/develop/python/"; - license = licenses.asl20; - maintainers = with maintainers; [ olcai ]; - }; -} diff --git a/pkgs/tools/package-management/nixops/azure-storage/default.nix b/pkgs/tools/package-management/nixops/azure-storage/default.nix deleted file mode 100644 index c6f3d71e98ea..000000000000 --- a/pkgs/tools/package-management/nixops/azure-storage/default.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ pkgs -, buildPythonPackage -, fetchPypi -, python -, azure-common -, futures -, python-dateutil -, requests -, isPy3k -}: - -buildPythonPackage rec { - version = "0.20.3"; - pname = "azure-storage"; - - src = fetchPypi { - inherit pname version; - extension = "zip"; - sha256 = "06bmw6k2000kln5jwk5r9bgcalqbyvqirmdh9gq4s6nb4fv3c0jb"; - }; - - propagatedBuildInputs = [ azure-common python-dateutil requests ] - ++ pkgs.lib.optionals (!isPy3k) [ futures ]; - - postInstall = '' - echo "__import__('pkg_resources').declare_namespace(__name__)" >> "$out/lib/${python.libPrefix}"/site-packages/azure/__init__.py - ''; - - meta = with pkgs.lib; { - description = "Microsoft Azure SDK for Python"; - homepage = "https://azure.microsoft.com/en-us/develop/python/"; - license = licenses.asl20; - maintainers = with maintainers; [ olcai ]; - }; -}