Files
nixpkgs/pkgs/development/python-modules/azure-containerregistry/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

47 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
azure-core,
msrest,
msrestazure,
isodate,
}:
buildPythonPackage rec {
pname = "azure-containerregistry";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Ss0ygh0IZVPqvV3f7Lsh+5FbXRPvg3XRWvyyyAvclqM=";
extension = "zip";
};
propagatedBuildInputs = [
azure-core
msrest
msrestazure
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;
};
}