Merge pull request #154734 from adisbladis/nixops-azure-subdirs
nixops: Remove unused expressions in subdirectories
This commit is contained in:
commit
b54b12e945
6 changed files with 0 additions and 209 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue