Merge staging-next into staging
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
, jinja2
|
||||
, pyyaml
|
||||
, httplib2
|
||||
, boto
|
||||
, six
|
||||
, netaddr
|
||||
, dnspython
|
||||
, jmespath
|
||||
, dopy
|
||||
, ncclient
|
||||
, windowsSupport ? false
|
||||
, pywinrm
|
||||
}:
|
||||
@@ -28,7 +28,9 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
sed -i "s,/usr/,$out," lib/ansible/constants.py
|
||||
# ansible-connection is wrapped, so make sure it's not passed
|
||||
# through the python interpreter.
|
||||
sed -i "s/\[python, /[/" lib/ansible/executor/task_executor.py
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
@@ -39,7 +41,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pycrypto paramiko jinja2 pyyaml httplib2
|
||||
six netaddr dnspython jmespath dopy
|
||||
six netaddr dnspython jmespath dopy ncclient
|
||||
] ++ lib.optional windowsSupport pywinrm;
|
||||
|
||||
# dificult to test
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "anytree";
|
||||
version = "2.6.0";
|
||||
version = "2.7.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "c0fec0de";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1k3yj9h3ssjlz57r4g1qzxvprxjp7n92vms9fv0d46pigylxm5i3";
|
||||
sha256 = "0ag5ir9h5p7rbm2pmpxlkflwigrm7z4afh24jvbhqj7pyrbjmk9w";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -25,12 +25,6 @@ buildPythonPackage rec {
|
||||
src = ./graphviz.patch;
|
||||
inherit graphviz;
|
||||
})
|
||||
# Fix tests python3.7
|
||||
# See: https://github.com/c0fec0de/anytree/pull/85
|
||||
(fetchpatch {
|
||||
url = "https://github.com/c0fec0de/anytree/commit/dd1b3d325546fef7436711e4cfea9a5fb61daaf8.patch";
|
||||
sha256 = "1dpa2jh2kakfaapnqrz03frb67q5fwxzc8c70i6nv1b01i9xw0bn";
|
||||
})
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ buildPythonPackage
|
||||
, lib
|
||||
, python
|
||||
, fetchPypi
|
||||
, six
|
||||
, requests
|
||||
@@ -16,6 +17,10 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ six requests ];
|
||||
|
||||
postInstall = ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
'';
|
||||
|
||||
# requires an active Azure Cosmos service
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, jinja2
|
||||
, msrest
|
||||
, vsts
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.0.22";
|
||||
pname = "azure-functions-devops-build";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Azure";
|
||||
repo = "azure-functions-devops-build";
|
||||
# rev picked based on pypi release date
|
||||
rev = "c8249670acc77333e3de8b21dec60faf7ecf0951";
|
||||
sha256 = "1slc7jd92v9q1qg1yacnrpi2a7hi7iw61wzbzfd6wx9q63pw9yqi";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ jinja2 msrest vsts ];
|
||||
|
||||
# circular dependency with azure-cli-core
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Integrate Azure Functions with Azure DevOps. Specifically made for the Azure CLI";
|
||||
homepage = "https://github.com/Azure/azure-functions-devops-build";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, python
|
||||
, isPy3k
|
||||
, fetchPypi
|
||||
, azure-common
|
||||
, azure-nspkg
|
||||
@@ -26,6 +28,10 @@ buildPythonPackage rec {
|
||||
cryptography
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.1.0";
|
||||
pname = "azure-mgmt-apimanagement";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06bqqkn5mx127x1z7ycm6rl8ajxlrmrm2kcdpgkbl4baii1x6iax";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.apimanagement" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure API Management Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.1.0";
|
||||
pname = "azure-mgmt-appconfiguration";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0z2f0rbv7drdxihny479bv80bnhgvx8gb2pr0jvbaslll6d6rxig";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.appconfiguration" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure App Configuration Management Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, python
|
||||
, fetchPypi
|
||||
, msrest
|
||||
, msrestazure
|
||||
@@ -26,6 +27,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -24,6 +24,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, msrestazure
|
||||
, azure-common
|
||||
, azure-mgmt-nspkg
|
||||
@@ -8,27 +8,33 @@
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
buildPythonPackage rec {
|
||||
pname = "azure-mgmt-billing";
|
||||
version = "0.2.0"; #pypi's 0.2.0 doesn't build ootb
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Azure";
|
||||
repo = "azure-sdk-for-python";
|
||||
rev = "ee5b47525d6c1eae3b1fd5f65b0421eab62a6e6f";
|
||||
sha256 = "0xzdn7da5c3q5knh033vbsqk36vwbm75cx8vf10x0yj58krb4kn4";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1li2bcdwdapwwx7xbvgfsq51f2mrwm0qyzih8cjhszcah2rkpxw5";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
cd ./azure-mgmt-billing
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
msrestazure
|
||||
azure-common
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
rm azure_bdist_wheel.py
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "azure-namespace-package = azure-mgmt-nspkg" ""
|
||||
'';
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.2.0";
|
||||
pname = "azure-mgmt-botservice";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "10sxllwvybjlp35h5mjdxhkw2wzpl4b03i08p4jnv8cswrc8h7dj";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.botservice" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure API Management Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrestazure
|
||||
, azure-common
|
||||
, azure-mgmt-nspkg
|
||||
@@ -22,6 +24,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.8.0";
|
||||
pname = "azure-mgmt-containerregistry";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "193k07a77z7bj61zn2gxvvfqi20cgxksvxp7if71bwsl1l2y2jxj";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.containerregistry" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Container Registry Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrestazure
|
||||
, azure-common
|
||||
, azure-mgmt-datalake-nspkg
|
||||
@@ -22,6 +24,12 @@ buildPythonPackage rec {
|
||||
azure-mgmt-datalake-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/datalake/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrestazure
|
||||
, azure-common
|
||||
, azure-mgmt-datalake-nspkg
|
||||
@@ -22,6 +24,12 @@ buildPythonPackage rec {
|
||||
azure-mgmt-datalake-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/datalake/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
@@ -29,6 +37,6 @@ buildPythonPackage rec {
|
||||
description = "This is the Microsoft Azure Data Lake Store Management Client Library";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mwilsoninsight ];
|
||||
maintainers = with maintainers; [ jonringer mwilsoninsight ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrest
|
||||
, msrestazure
|
||||
, azure-common
|
||||
, azure-mgmt-nspkg
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -26,6 +27,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
@@ -33,6 +39,6 @@ buildPythonPackage rec {
|
||||
description = "This is the Microsoft Azure Data Migration Client Library";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mwilsoninsight ];
|
||||
maintainers = with maintainers; [ jonringer mwilsoninsight ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.1.0";
|
||||
pname = "azure-mgmt-deploymentmanager";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0gvh17bhfcpvr6w0nd06v482m8lqxchlk256w68agi2qnqw6v2ir";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.deploymentmanager" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Deployment Manager Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -1,11 +1,12 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrest
|
||||
, msrestazure
|
||||
, azure-common
|
||||
, azure-mgmt-nspkg
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -26,6 +27,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
@@ -33,6 +39,6 @@ buildPythonPackage rec {
|
||||
description = "This is the Microsoft Azure DevTestLabs Management Client Library";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mwilsoninsight ];
|
||||
maintainers = with maintainers; [ jonringer mwilsoninsight ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrest
|
||||
, msrestazure
|
||||
, azure-common
|
||||
, azure-mgmt-nspkg
|
||||
, python
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -26,6 +26,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
@@ -33,6 +38,6 @@ buildPythonPackage rec {
|
||||
description = "This is the Microsoft Azure DNS Management Client Library";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mwilsoninsight ];
|
||||
maintainers = with maintainers; [ jonringer mwilsoninsight ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.2.0";
|
||||
pname = "azure-mgmt-hdinsight";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yq9s7a2ch8j84af3hzj350jnjq5s3ysiqvmypvcb7vl6rkkd2lm";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.hdinsight" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure HDInsight Management Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.2.1";
|
||||
pname = "azure-mgmt-imagebuilder";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0mwlvy4x5nr3hsz7wdpdhpzwarzzwz4225bfpd68hr0pcjgzspky";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.imagebuilder" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Image Builder Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrest
|
||||
, msrestazure
|
||||
, azure-common
|
||||
@@ -24,6 +26,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
@@ -31,6 +38,6 @@ buildPythonPackage rec {
|
||||
description = "This is the Microsoft Azure IoTHub Provisioning Services Client Library";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mwilsoninsight ];
|
||||
maintainers = with maintainers; [ jonringer mwilsoninsight ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrest
|
||||
, msrestazure
|
||||
, azure-common
|
||||
@@ -24,6 +26,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
@@ -31,6 +38,6 @@ buildPythonPackage rec {
|
||||
description = "This is the Microsoft Azure Key Vault Management Client Library";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mwilsoninsight ];
|
||||
maintainers = with maintainers; [ jonringer mwilsoninsight ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.1.0";
|
||||
pname = "azure-mgmt-apimanagement";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06bqqkn5mx127x1z7ycm6rl8ajxlrmrm2kcdpgkbl4baii1x6iax";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.apimanagement" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure API Management Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
31
pkgs/development/python-modules/azure-mgmt-kusto/default.nix
Normal file
31
pkgs/development/python-modules/azure-mgmt-kusto/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.4.0";
|
||||
pname = "azure-mgmt-kusto";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1sx8f98206wccj0mbmb75c4wyhf57g3pnkhl9wn70lqzi9n4mk0b";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.kusto" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Kusto Management Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrest
|
||||
, msrestazure
|
||||
, azure-common
|
||||
@@ -24,6 +26,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.0";
|
||||
pname = "azure-mgmt-managedservices";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "06ddfqriqlvwjsjhqka9r5vhshardyj9c10xgjissfkpqsgkkn7y";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.managedservices" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Managed Services Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrest
|
||||
, msrestazure
|
||||
, azure-common
|
||||
@@ -24,6 +26,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrest
|
||||
, msrestazure
|
||||
, azure-common
|
||||
, azure-mgmt-nspkg
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -26,6 +27,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrest
|
||||
, msrestazure
|
||||
, azure-common
|
||||
@@ -24,6 +26,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.6.0";
|
||||
pname = "azure-mgmt-netapp";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "10ymvyj386z9bjdm2g1b5a4vfnn87ig2zm6xn2xddvbpy0jxnyfv";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.netapp" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure NetApp Files Management Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.1.0";
|
||||
pname = "azure-mgmt-privatedns";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "08wdvfkk8jh90m3l4nz7knd5vikgfvsx70lk7mkhcvl0xj6gv76j";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.privatedns" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure DNS Private Zones Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrestazure
|
||||
, azure-common
|
||||
, azure-mgmt-nspkg
|
||||
@@ -22,6 +24,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.3.0";
|
||||
pname = "azure-mgmt-security";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0z766424783a6y5dp5ybxssb0bfzqb8kpa6zra8ccnbfg4fn478v";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.security" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Security Center Management Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, isPy3k
|
||||
, msrest
|
||||
, msrestazure
|
||||
, azure-common
|
||||
@@ -24,6 +26,11 @@ buildPythonPackage rec {
|
||||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.4.0";
|
||||
pname = "azure-mgmt-sqlvirtualmachine";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1jxmikjvyxkwr8c9kn6xw8gvj9pajlk7y8111rq8fgkivwjq8wcm";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.mgmt.sqlvirtualmachine" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure SQL Virtual Machine Management Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{ lib, python, buildPythonPackage, fetchPypi, isPy27
|
||||
, azure-common
|
||||
, msrest
|
||||
, msrestazure
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.2.4";
|
||||
pname = "azure-multiapi-storage";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zqapc4dx6qd9bcim5fjykk3n1j84p85nwqyb876nb7qmqx9spig";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ azure-common msrest msrestazure ];
|
||||
|
||||
# fix namespace issues
|
||||
postInstall = ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/multiapi/__init__.py
|
||||
'';
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.common" "azure.multiapi.storage" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure Storage Client Library for Python with multi API version support.";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, Babel
|
||||
, lxml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "babelgladeextractor";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "BabelGladeExtractor";
|
||||
inherit version;
|
||||
extension = "tar.bz2";
|
||||
sha256 = "18m5vi3sj2h26ibmb6fzfjs2lscg757ivk1bjgkn1haf9gdwyjj6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
Babel
|
||||
lxml # TODO: remove in 0.7.0
|
||||
];
|
||||
|
||||
# Tests missing
|
||||
# https://github.com/gnome-keysign/babel-glade/issues/5
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/gnome-keysign/babel-glade";
|
||||
description = "Babel Glade XML files translatable strings extractor";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
};
|
||||
}
|
||||
@@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "croniter provides iteration for datetime object with cron like format";
|
||||
homepage = http://github.com/kiorky/croniter;
|
||||
homepage = https://github.com/kiorky/croniter;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
|
||||
@@ -40,7 +40,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Adds i18n/l10n support to Flask applications";
|
||||
homepage = http://github.com/mrjoes/flask-babelex;
|
||||
homepage = https://github.com/mrjoes/flask-babelex;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenID support for Flask";
|
||||
homepage = http://github.com/mitsuhiko/flask-openid/;
|
||||
homepage = https://pythonhosted.org/Flask-OpenID/;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, isPy3k
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, flask
|
||||
@@ -32,10 +33,13 @@ buildPythonPackage rec {
|
||||
py.test
|
||||
'';
|
||||
|
||||
# ImportError: No module named google.auth
|
||||
doCheck = isPy3k;
|
||||
|
||||
meta = {
|
||||
description = "Google Authentication Library: httplib2 transport";
|
||||
homepage = https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2;
|
||||
license = lib.licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,24 +3,27 @@
|
||||
, fetchPypi
|
||||
, google_api_core
|
||||
, google_cloud_core
|
||||
, grpcio
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-translate";
|
||||
version = "1.7.0";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "55b6563121883acce5d80afbf61a59e50d52c429e6ebbfe81a1c8f2734b75e8c";
|
||||
sha256 = "0nfc628nr2k6kd3q9qpgwz7c12l0191rv5x4pvca8q82jl96gip5";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
propagatedBuildInputs = [ google_api_core google_cloud_core ];
|
||||
# google_cloud_core[grpc] -> grpcio
|
||||
propagatedBuildInputs = [ google_api_core google_cloud_core grpcio ];
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
checkPhase = ''
|
||||
pytest tests/unit
|
||||
cd tests # prevent local google/__init__.py from getting loaded
|
||||
pytest unit
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
32
pkgs/development/python-modules/javaproperties/default.nix
Normal file
32
pkgs/development/python-modules/javaproperties/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, six
|
||||
, pytest
|
||||
, dateutil
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.5.2";
|
||||
pname = "javaproperties";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jwodder";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "14hrp94cjj44yldf3k71wbq88cmlf01dfadi53gcirnsa56ddz5d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
checkInputs = [ dateutil pytest ];
|
||||
checkPhase = ''
|
||||
rm tox.ini
|
||||
pytest -k 'not dumps and not time' --ignore=test/test_propclass.py
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure API Management Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
33
pkgs/development/python-modules/keyring/2.nix
Normal file
33
pkgs/development/python-modules/keyring/2.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, dbus-python, setuptools_scm, entrypoints, secretstorage
|
||||
, pytest, pytest-flake8 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "keyring";
|
||||
version = "18.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0f58jq58jhfzlhix7x2zz7c4ycdvcs1z3sgs4lkr4xxx680wrmk7";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
||||
checkInputs = [ pytest pytest-flake8 ];
|
||||
|
||||
propagatedBuildInputs = [ dbus-python entrypoints ] ++ stdenv.lib.optional stdenv.isLinux secretstorage;
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Store and access your passwords safely";
|
||||
homepage = "https://pypi.python.org/pypi/keyring";
|
||||
license = licenses.psfl;
|
||||
maintainers = with maintainers; [ lovek323 orivej ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -44,7 +44,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of Mapper algorithm for Topological Data Analysis";
|
||||
homepage = http://kepler-mapper.scikit-tda.org;
|
||||
homepage = https://kepler-mapper.scikit-tda.org/;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
|
||||
@@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Computer vision package based on numpy";
|
||||
homepage = http://mahotas.readthedocs.io/;
|
||||
homepage = https://mahotas.readthedocs.io/;
|
||||
maintainers = with maintainers; [ luispedro ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "High performance asynchronous Python WSGI Web Server";
|
||||
homepage = http://meinheld.org/;
|
||||
homepage = https://meinheld.org/;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [ beautifulsoup4 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://micawber.readthedocs.io/en/latest/;
|
||||
homepage = https://micawber.readthedocs.io/en/latest/;
|
||||
description = "A small library for extracting rich content from urls";
|
||||
license = licenses.mit;
|
||||
longDescription = ''
|
||||
|
||||
36
pkgs/development/python-modules/mnist/default.nix
Normal file
36
pkgs/development/python-modules/mnist/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ buildPythonPackage, fetchFromGitHub, isPy27, lib, mock, numpy, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mnist";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "datapythonista";
|
||||
repo = "mnist";
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "17r37pbxiv5dw857bmg990x836gq6sgww069w3q5jjg9m3xdm7dh";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ] ++ lib.optional isPy27 mock;
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
dontUseSetuptoolsCheck = true;
|
||||
|
||||
# disable tests which fail due to socket related errors
|
||||
disabledTests = [
|
||||
"test_test_images_has_right_size"
|
||||
"test_test_labels_has_right_size"
|
||||
"test_train_images_has_right_size"
|
||||
"test_train_labels_has_right_size"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python utilities to download and parse the MNIST dataset";
|
||||
homepage = "https://github.com/datapythonista/mnist";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ dmrauh ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "monty";
|
||||
version = "1.0.4";
|
||||
version = "3.0.2";
|
||||
|
||||
# No tests in Pypi
|
||||
src = fetchFromGitHub {
|
||||
owner = "materialsvirtuallab";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0vqaaz0dw0ypl6sfwbycpb0qs3ap04c4ghbggklxih66spdlggh6";
|
||||
sha256 = "1wxqxp0j7i6czdpr2r1imgmy3qbgn2l7d4za2h1lg3hllvx6jra1";
|
||||
};
|
||||
|
||||
checkInputs = [ lsof nose numpy msgpack coverage coveralls pymongo];
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.6.9";
|
||||
version = "0.6.10";
|
||||
pname = "msrest";
|
||||
|
||||
# no tests in PyPI tarball
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "Azure";
|
||||
repo = "msrest-for-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "0540dmxz90jsmwvd4q06cr1ficixknjk8q06f2dqcp06w92vnl8r";
|
||||
sha256 = "1l08daq748lk8rwiv4jdlnmfl9mi7g1ln46gibhnd9xvrrjp0sdx";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.6.1";
|
||||
version = "0.6.2";
|
||||
pname = "msrestazure";
|
||||
|
||||
# Pypi tarball doesnt include tests
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "Azure";
|
||||
repo = "msrestazure-for-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "09swndz57131b8x57mzibnsr1sv0l80pk62p89q99gsd6mvc389c";
|
||||
sha256 = "09qwdg4la4jwp5ibypdwsn7h8m2sh8c1kdxvffyxcjan50h14s04";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ adal msrest ];
|
||||
|
||||
@@ -46,7 +46,7 @@ in buildPythonPackage rec {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python compiler with full language support and CPython compatibility";
|
||||
license = licenses.asl20;
|
||||
homepage = http://nuitka.net/;
|
||||
homepage = https://nuitka.net/;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
38
pkgs/development/python-modules/openpyxl/2.nix
Normal file
38
pkgs/development/python-modules/openpyxl/2.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, jdcal
|
||||
, et_xmlfile
|
||||
, lxml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openpyxl";
|
||||
version = "2.6.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1d53801678e18d7fe38c116f1ad0c2383a654670c4c8806105b611c92d92f2e3";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ jdcal et_xmlfile lxml ];
|
||||
|
||||
postPatch = ''
|
||||
# LICENSE.rst is missing, and setup.cfg currently doesn't contain anything useful anyway
|
||||
# This should likely be removed in the next update
|
||||
rm setup.cfg
|
||||
'';
|
||||
|
||||
# Tests are not included in archive.
|
||||
# https://bitbucket.org/openpyxl/openpyxl/issues/610
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A Python library to read/write Excel 2007 xlsx/xlsm files";
|
||||
homepage = https://openpyxl.readthedocs.org;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ lihop sjourdois ];
|
||||
};
|
||||
}
|
||||
@@ -32,11 +32,11 @@ let
|
||||
|
||||
in buildPythonPackage rec {
|
||||
pname = "pandas";
|
||||
version = "0.25.3";
|
||||
version = "0.24.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "52da74df8a9c9a103af0a72c9d5fdc8e0183a90884278db7f386b5692a2220a4";
|
||||
sha256 = "18imlm8xbhcbwy4wa957a1fkamrcb0z988z006jpfda3ki09z4ag";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest glibcLocales moto hypothesis ];
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
, fetchpatch
|
||||
, sphinx
|
||||
, flake8
|
||||
, pytest
|
||||
@@ -15,7 +16,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "dac62e53e5670cb40d2ee4cdc785e6b829665932c3ee75307ad677cf5f7d2e9f";
|
||||
sha256 = "17rfgmgwyxyng8q7bvn369cncadqws2wgkg45q6v8337wm9jxins";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
33
pkgs/development/python-modules/pydocstyle/2.nix
Normal file
33
pkgs/development/python-modules/pydocstyle/2.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, pythonOlder
|
||||
, snowballstemmer, six, configparser
|
||||
, pytest, pytestpep8, mock, pathlib }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydocstyle";
|
||||
version = "2.1.1";
|
||||
|
||||
# no tests on PyPI
|
||||
# https://github.com/PyCQA/pydocstyle/issues/302
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyCQA";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1h0k8lpx14svc8dini62j0kqiam10pck5sdzvxa4xhsx7y689g5l";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ snowballstemmer six ] ++ lib.optional (!isPy3k) configparser;
|
||||
|
||||
checkInputs = [ pytest pytestpep8 mock ] ++ lib.optional (pythonOlder "3.4") pathlib;
|
||||
|
||||
checkPhase = ''
|
||||
# test_integration.py installs packages via pip
|
||||
py.test --pep8 --cache-clear -vv src/tests -k "not test_integration"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python docstring style checker";
|
||||
homepage = https://github.com/PyCQA/pydocstyle/;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dzabraev ];
|
||||
};
|
||||
}
|
||||
@@ -1,23 +1,25 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k, pythonOlder
|
||||
, snowballstemmer, six, configparser
|
||||
, pytest, pytestpep8, mock, pathlib }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
||||
, mock
|
||||
, pytest
|
||||
, pytestpep8
|
||||
, snowballstemmer
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydocstyle";
|
||||
version = "2.1.1";
|
||||
version = "4.0.1";
|
||||
disabled = !isPy3k;
|
||||
|
||||
# no tests on PyPI
|
||||
# https://github.com/PyCQA/pydocstyle/issues/302
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyCQA";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1h0k8lpx14svc8dini62j0kqiam10pck5sdzvxa4xhsx7y689g5l";
|
||||
sha256 = "1sr8d2fsfpam4f14v4als6g2v6s3n9h138vxlwhd6slb3ll14y4l";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ snowballstemmer six ] ++ lib.optional (!isPy3k) configparser;
|
||||
propagatedBuildInputs = [ snowballstemmer ];
|
||||
|
||||
checkInputs = [ pytest pytestpep8 mock ] ++ lib.optional (pythonOlder "3.4") pathlib;
|
||||
checkInputs = [ pytest pytestpep8 mock ];
|
||||
|
||||
checkPhase = ''
|
||||
# test_integration.py installs packages via pip
|
||||
|
||||
33
pkgs/development/python-modules/pydrive/default.nix
Normal file
33
pkgs/development/python-modules/pydrive/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google_api_python_client
|
||||
, oauth2client
|
||||
, pyyaml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydrive";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "PyDrive";
|
||||
inherit version;
|
||||
sha256 = "11q7l94mb34hfh9wkdwfrh5xw99y13wa33ba7xp1q23q4b60v2c3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google_api_python_client
|
||||
oauth2client
|
||||
pyyaml
|
||||
];
|
||||
|
||||
# requires client_secrets.json
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Google Drive API Python wrapper library";
|
||||
homepage = "https://github.com/gsuitedevs/PyDrive";
|
||||
license = lib.licenses.asl20;
|
||||
};
|
||||
}
|
||||
30
pkgs/development/python-modules/secure/default.nix
Normal file
30
pkgs/development/python-modules/secure/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, maya
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.2.1";
|
||||
pname = "secure";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "typeerror";
|
||||
repo = "secure.py";
|
||||
rev = "v${version}";
|
||||
sha256 = "1nbxwi0zccrha6js14ibd596kdi1wpqr7jgs442mqclw4b3f77q5";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ maya requests ];
|
||||
|
||||
# no tests in release
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "secure" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Adds optional security headers and cookie attributes for Python web frameworks";
|
||||
homepage = "https://github.com/TypeError/secure.py";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -2,22 +2,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spglib";
|
||||
version = "1.12.2.post0";
|
||||
version = "1.14.1.post0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "15b02b74c0f06179bc3650c43a710a5200abbba387c6eda3105bfd9236041443";
|
||||
sha256 = "0kmllcch5p20ylxirqiqzls567jr2808rbld9i8f1kf0205al8qq";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-assertions.patch";
|
||||
url = https://github.com/atztogo/spglib/commit/d57070831585a6f02dec0a31d25b375ba347798c.patch;
|
||||
stripLen = 1;
|
||||
sha256 = "0crmkc498rbrawiy9zbl39qis2nmsbfr4s6kk6k3zhdy8z2ppxw7";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
checkInputs = [ nose pyyaml ];
|
||||
|
||||
31
pkgs/development/python-modules/sshtunnel/default.nix
Normal file
31
pkgs/development/python-modules/sshtunnel/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, paramiko
|
||||
, pytest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.1.5";
|
||||
pname = "sshtunnel";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0jcjppp6mdfsqrbfc3ddfxg1ybgvkjv7ri7azwv3j778m36zs4y8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ paramiko ];
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
|
||||
# disable impure tests
|
||||
checkPhase = ''
|
||||
pytest -k 'not connect_via_proxy and not read_ssh_config'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure python SSH tunnels";
|
||||
homepage = "https://github.com/pahaz/sshtunnel";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
@@ -4,12 +4,12 @@
|
||||
with stdenv.lib;
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "3.6.1";
|
||||
version = "3.5.2";
|
||||
pname = "tables";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "49a972b8a7c27a8a173aeb05f67acb45fe608b64cd8e9fa667c0962a60b71b49";
|
||||
sha256 = "1hikrki0hx94ass31pn0jyz9iy0zhnkjacfk86m21cxsc8if685j";
|
||||
};
|
||||
|
||||
buildInputs = [ hdf5 cython bzip2 lzo c-blosc ];
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ stdenv, lib, fetchPypi, buildPythonPackage, isPy3k
|
||||
{ lib, fetchPypi, buildPythonPackage, isPy3k
|
||||
, numpy
|
||||
, wheel
|
||||
, werkzeug
|
||||
, protobuf
|
||||
, grpcio
|
||||
@@ -34,10 +35,29 @@ buildPythonPackage rec {
|
||||
werkzeug
|
||||
protobuf
|
||||
markdown
|
||||
grpcio absl-py
|
||||
grpcio
|
||||
absl-py
|
||||
# not declared in install_requires, but used at runtime
|
||||
# https://github.com/NixOS/nixpkgs/issues/73840
|
||||
wheel
|
||||
] ++ lib.optional (!isPy3k) futures;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
# in the absence of a real test suite, run cli and imports
|
||||
checkPhase = ''
|
||||
$out/bin/tensorboard --help > /dev/null
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"tensorboard"
|
||||
"tensorboard.backend"
|
||||
"tensorboard.compat"
|
||||
"tensorboard.data"
|
||||
"tensorboard.plugins"
|
||||
"tensorboard.summary"
|
||||
"tensorboard.util"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "TensorFlow's Visualization Toolkit";
|
||||
homepage = http://tensorflow.org;
|
||||
license = licenses.asl20;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pkginfo
|
||||
, requests
|
||||
, requests_toolbelt
|
||||
@@ -12,6 +13,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "twine";
|
||||
version = "2.0.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
||||
28
pkgs/development/python-modules/vsts-cd-manager/default.nix
Normal file
28
pkgs/development/python-modules/vsts-cd-manager/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, msrest
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.2";
|
||||
pname = "vsts-cd-manager";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ys4hrmjbxl4qr26qr3dhhs27yfwn1635vwjdqh1qgjmrmcr1c0b";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ msrest mock ];
|
||||
|
||||
# no tests included
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "vsts_cd_manager" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Azure API Management Client Library for Python";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user