Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, isPy27
2, azure-common
3, azure-mgmt-core
4, msrest
5, msrestazure
6}:
7
8buildPythonPackage rec {
9 version = "8.2.0";
10 pname = "azure-mgmt-containerregistry";
11 disabled = isPy27;
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "f2bcdbcf0b9fdc2df0df9eccb77cb489091d3c670ed53cba77e5ffd734e9539b";
16 extension = "zip";
17 };
18
19 propagatedBuildInputs = [ azure-common azure-mgmt-core msrest msrestazure ];
20
21 # no tests included
22 doCheck = false;
23
24 pythonImportsCheck = [ "azure.common" "azure.mgmt.containerregistry" ];
25
26 meta = with lib; {
27 description = "Microsoft Azure Container Registry Client Library for Python";
28 homepage = "https://github.com/Azure/azure-sdk-for-python";
29 license = licenses.mit;
30 maintainers = with maintainers; [ jonringer ];
31 };
32}