blob: d1abb93132475178c22d8bbe094ced8e94958dd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
buildPythonPackage,
fetchPypi,
azure-core,
msrest,
isodate,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "azure-containerregistry";
version = "1.2.0";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-Ss0ygh0IZVPqvV3f7Lsh+5FbXRPvg3XRWvyyyAvclqM=";
extension = "zip";
};
build-system = [ setuptools ];
dependencies = [
azure-core
msrest
isodate
];
# tests require azure-devtools which are not published (since 2020)
# https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/containerregistry/azure-containerregistry/dev_requirements.txt
doCheck = false;
pythonImportsCheck = [
"azure.core"
"azure.containerregistry"
];
meta = {
description = "Microsoft Azure Container Registry client library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/containerregistry/azure-containerregistry";
license = lib.licenses.mit;
};
})
|