Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2020-05-02 09:39:00 +02:00
148 changed files with 5000 additions and 2598 deletions

View File

@@ -17,13 +17,13 @@
buildPythonPackage rec {
pname = "azure-identity";
version = "1.3.0";
version = "1.3.1";
disabled = isPy38;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "17fa904e0447fd2a2dc19909379edb769b05656dbaf4863b8c4fdfb2bb54350c";
sha256 = "5a59c36b4b05bdaec455c390feda71b6495fc828246593404351b9a41c2e877a";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
, isPy3k
, azure-core
, msrest
, msrestazure
}:
buildPythonPackage rec {
pname = "azure-keyvault-certificates";
version = "4.1.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "069l6m80rq4smyqbrmjb2w18wxxg49xi2yrf1wsxpq8r0r45cksl";
};
propagatedBuildInputs = [
azure-core
msrest
msrestazure
];
pythonNamespaces = [ "azure.keyvault" ];
# has no tests
doCheck = false;
pythonImportsCheck = [ "azure.keyvault.certificates" ];
meta = with lib; {
description = "Microsoft Azure Key Vault Certificates Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}

View File

@@ -1,20 +1,22 @@
{ lib, buildPythonPackage, isPy27, fetchPypi
, azure-keyvault-certificates
, azure-keyvault-keys
, azure-keyvault-secrets
}:
buildPythonPackage rec {
pname = "azure-keyvault";
version = "4.0.0";
version = "4.1.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "e85f5bd6cb4f10b3248b99bbf02e3acc6371d366846897027d4153f18025a2d7";
sha256 = "69002a546921a8290eb54d9a3805cfc515c321bc1d4c0bfcfb463620245eca40";
};
propagatedBuildInputs = [
azure-keyvault-certificates
azure-keyvault-keys
azure-keyvault-secrets
];

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-advisor";
version = "3.0.0";
version = "4.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "c52a4cf91d736c0ecdcb4d555e3b7713ff892343f610e7d65c63549edb98c221";
sha256 = "1ecea7a9dc48c099c06aab68aace7fdbded91a5522932882b1707c29fa055054";
};
propagatedBuildInputs = [

View File

@@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
version = "0.1.0";
version = "0.2.0";
pname = "azure-mgmt-apimanagement";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "06bqqkn5mx127x1z7ycm6rl8ajxlrmrm2kcdpgkbl4baii1x6iax";
sha256 = "790f01c0b32583706b8b8c59667c0f5a51cd70444eee76474e23a598911e1d72";
extension = "zip";
};

View File

@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-applicationinsights";
version = "0.2.0";
version = "0.3.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1hm6s7vym1y072jqypjgbhps8lza1d5kb8qcpyxnw4zsmsvshdp5";
sha256 = "3c788a54db4fbca1a8850151462ec1471ff59c86b3a10d6082952bbdaa7e6651";
};
propagatedBuildInputs = [

View File

@@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-cognitiveservices";
version = "6.0.0";
version = "6.1.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "d03641336f4b2ec561112655c93ee80bc28d8e8daa45a57abc36169bd19c07a0";
sha256 = "e0c4bbe656ababb942d708ee04f3f3305a2023e322a8b3fb1d8503aa682f59c4";
};
propagatedBuildInputs = [

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-containerservice";
version = "9.0.0";
version = "9.0.1";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "6f05948bbd19ceb894f46f037b77c54116183364a671e180c007b5737c8d4590";
sha256 = "7e4459679bdba4aa67a4b5848e63d94e965a304a7418ef7607eb7a9ce295d886";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,36 @@
{ pkgs
, buildPythonPackage
, fetchPypi
, python
, azure-core
, isPy3k
}:
buildPythonPackage rec {
version = "1.0.0";
pname = "azure-mgmt-core";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "0pm565v05480f672l0n8z2sg6zk6iqyi91n0dhscibhdl54sy3si";
};
propagatedBuildInputs = [
azure-core
];
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 ];
};
}

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-cosmosdb";
version = "0.12.0";
version = "0.13.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "07c0hr7nha9789x1wz0ndca0sr0zscq63m9vd8pm1c6y0ss4iyn5";
sha256 = "e83d21462f9d5b02e90f5590c4247ab73e0ff85fc4ac1fba32be119a15b10c98";
};
propagatedBuildInputs = [

View File

@@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-loganalytics";
version = "0.2.0";
version = "0.5.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "c7315ff0ee4d618fb38dca68548ef4023a7a20ce00efe27eb2105a5426237d86";
sha256 = "16f4c4f676ea718b7e1c59bd9a516fcfc796f1aff844b183a7ce9afe69fb214d";
};
propagatedBuildInputs = [

View File

@@ -5,13 +5,13 @@
}:
buildPythonPackage rec {
version = "0.8.0";
version = "0.10.0";
pname = "azure-mgmt-netapp";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "0vbg5mpahrnnnbj80flgzxxiffic94wsc9srm4ir85y2j5rprpv7";
sha256 = "380b2153c52a861ae9069fcd601cbaeb9a6f91c49cba823443a9b5fe461c3998";
extension = "zip";
};

View File

@@ -7,13 +7,13 @@
}:
buildPythonPackage rec {
version = "10.0.0";
version = "10.1.0";
pname = "azure-mgmt-network";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "3978da4641b3396d4a00c7ddd53d87ece7e7d45b5bc41a157639bdd2f2c5b9b3";
sha256 = "e5ac0ee14b71ab57035c45bef15d3698b0b6026ecafb8320a7c704eb3f6fba3a";
};
postInstall = if isPy3k then "" else ''

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-recoveryservices";
version = "0.4.0";
version = "0.5.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "e1e794760232239f8a9328d5de1740565ff70d1612a2921c9609746ba5671e6c";
sha256 = "3c90e6b2e358dbe6d5c6d7204955bdf52c3e977c6f8b727cbbb8811427d7fd52";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
, msrest
, msrestazure
, azure-common
, isPy27
}:
buildPythonPackage rec {
version = "0.1.0";
pname = "azure-mgmt-redhatopenshift";
disabled = isPy27; # don't feel like fixing namespace issues on python2
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1g65lbia1i1jw6qkyjz2ldyl3p90rbr78l8kfryg70sj7z3gnnjn";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
];
pythonNamespaces = "azure.mgmt";
# no included
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.redhatopenshift" ];
meta = with lib; {
description = "Microsoft Azure Red Hat Openshift Management Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}

View File

@@ -10,12 +10,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-web";
version = "0.45.0";
version = "0.46.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "04wdb7vksjhcvv0gkjjr37lmb5ads5pr00cjac8r3szimr64zspr";
sha256 = "e1988aa2b91e6b5aa84e48ac02d5546945bdc2d8331744869e923ba15066c4a6";
};
propagatedBuildInputs = [

View File

@@ -1,39 +0,0 @@
{ pkgs
, buildPythonPackage
, fetchPypi
, dateutil
, futures
, pyopenssl
, requests
, isPy3k
}:
buildPythonPackage rec {
version = "4.0.0";
pname = "azure";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "7d6afa332fccffe1a9390bcfac5122317eec657c6029f144d794603a81cd0e50";
};
propagatedBuildInputs = [ dateutil pyopenssl requests ]
++ pkgs.lib.optionals (!isPy3k) [ futures ];
# depends on futures for python 3 (not necissary)
patchPhase = if (!isPy3k) then "" else ''
sed -i -e "s/'futures'//" setup.py
'';
# tests are not packaged in pypi release
doCheck = false;
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 ];
broken = true; # this should propagate over 70 azure packages, many of which are not added yet
};
}

View File

@@ -18,7 +18,7 @@
}:
buildPythonPackage rec {
version = "0.6.11";
version = "0.6.13";
pname = "msrest";
# no tests in PyPI tarball
@@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "Azure";
repo = "msrest-for-python";
rev = "v${version}";
sha256 = "1lq3bf7kzs9h9sk6ahpf0vidklv0ahx3bm4wpv3qka3jb64yqdmi";
sha256 = "1s34xp6wgas17mbg6ysciqlgb3qc2p2d5bs9brwr05ys62l6y8cz";
};
propagatedBuildInputs = [

View File

@@ -12,7 +12,7 @@
}:
buildPythonPackage rec {
version = "0.6.2";
version = "0.6.3";
pname = "msrestazure";
# Pypi tarball doesnt include tests
@@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "Azure";
repo = "msrestazure-for-python";
rev = "v${version}";
sha256 = "09qwdg4la4jwp5ibypdwsn7h8m2sh8c1kdxvffyxcjan50h14s04";
sha256 = "0pd3qw96c9fz4qgimnc0qf0pz7m9rr1wzhxj8m792swaf3pb18z8";
};
propagatedBuildInputs = [ adal msrest ];

View File

@@ -2,7 +2,7 @@
buildPythonPackage rec {
pname = "pyprof2calltree";
version = "1.4.4";
version = "1.4.5";
# Fetch from GitHub because the PyPi packaged version does not
# include all test files.
@@ -10,7 +10,7 @@ buildPythonPackage rec {
owner = "pwaller";
repo = "pyprof2calltree";
rev = "v" + version;
sha256 = "1vrip41ib7nmkwa8rjny1na1wyp7nvvgvm0h9bd21i262kbm4nqx";
sha256 = "0akighssiswfhi5285rrj37am6flg3ip17c34bayq3r8yyk1iciy";
};
meta = with lib; {

View File

@@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, pytest
, numpy
, scipy
, sympy
}:
buildPythonPackage rec {
pname = "transforms3d";
version = "unstable-2019-12-17";
disabled = isPy27;
# no Git tag or PyPI release in some time
src = fetchFromGitHub {
owner = "matthew-brett";
repo = pname;
rev = "6b20250c610249914ca5e3a3a2964c36ca35c19a";
sha256 = "1z789hgk71a6rj6mqp9srpzamg06g58hs2p1l1p344cfnkj5a4kc";
};
propagatedBuildInputs = [ numpy sympy ];
checkInputs = [ pytest scipy ];
checkPhase = "pytest transforms3d";
meta = with lib; {
homepage = "https://matthew-brett.github.io/transforms3d";
description = "Convert between various geometric transformations";
license = licenses.bsd2;
maintainers = with maintainers; [ bcdarwin ];
};
}