Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / azure-containerregistry / default.nix
blob7b6d8ba17915a746d5aed98f0c0aa4f76ab6b6d2
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , azure-core
6 , msrest
7 , msrestazure
8 , isodate
9 }:
11 buildPythonPackage rec {
12   pname = "azure-containerregistry";
13   version = "1.2.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-Ss0ygh0IZVPqvV3f7Lsh+5FbXRPvg3XRWvyyyAvclqM=";
21     extension = "zip";
22   };
24   propagatedBuildInputs = [
25     azure-core
26     msrest
27     msrestazure
28     isodate
29   ];
31   # tests require azure-devtools which are not published (since 2020)
32   # https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/containerregistry/azure-containerregistry/dev_requirements.txt
33   doCheck = false;
35   pythonImportsCheck = [
36     "azure.core"
37     "azure.containerregistry"
38   ];
40   meta = with lib; {
41     description = "Microsoft Azure Container Registry client library for Python";
42     homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/containerregistry/azure-containerregistry";
43     license = licenses.mit;
44     maintainers = with maintainers; [ peterromfeldhk ];
45   };