otadump: init at 0.1.2 (#329129)
[NixPkgs.git] / pkgs / development / python-modules / azure-containerregistry / default.nix
blob37d7173441acfc331c1ae133c5dce9de7b86bfc8
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   azure-core,
7   msrest,
8   msrestazure,
9   isodate,
12 buildPythonPackage rec {
13   pname = "azure-containerregistry";
14   version = "1.2.0";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-Ss0ygh0IZVPqvV3f7Lsh+5FbXRPvg3XRWvyyyAvclqM=";
22     extension = "zip";
23   };
25   propagatedBuildInputs = [
26     azure-core
27     msrest
28     msrestazure
29     isodate
30   ];
32   # tests require azure-devtools which are not published (since 2020)
33   # https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/containerregistry/azure-containerregistry/dev_requirements.txt
34   doCheck = false;
36   pythonImportsCheck = [
37     "azure.core"
38     "azure.containerregistry"
39   ];
41   meta = with lib; {
42     description = "Microsoft Azure Container Registry client library for Python";
43     homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/containerregistry/azure-containerregistry";
44     license = licenses.mit;
45     maintainers = with maintainers; [ peterromfeldhk ];
46   };