nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 azure-common,
6 azure-mgmt-core,
7 isodate,
8 setuptools,
9 typing-extensions,
10}:
11
12buildPythonPackage rec {
13 pname = "azure-mgmt-containerregistry";
14 version = "14.0.0";
15 pyproject = true;
16
17 src = fetchPypi {
18 pname = "azure_mgmt_containerregistry";
19 inherit version;
20 hash = "sha256-c4PxxVR7z/525BHt2CUNVcNM3fXvaATVh1wWPMpmxLU=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 azure-common
27 azure-mgmt-core
28 isodate
29 typing-extensions
30 ];
31
32 # no tests included
33 doCheck = false;
34
35 pythonImportsCheck = [
36 "azure.common"
37 "azure.mgmt.containerregistry"
38 ];
39
40 meta = {
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-mgmt-containerregistry";
43 changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-containerregistry_${version}/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md";
44 license = lib.licenses.mit;
45 maintainers = [ ];
46 };
47}