Files
nixpkgs/pkgs/development/python-modules/azure-containerregistry/default.nix
T
Robert Schütz 1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00

44 lines
984 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
azure-core,
msrest,
msrestazure,
isodate,
}:
buildPythonPackage rec {
pname = "azure-containerregistry";
version = "1.2.0";
format = "setuptools";
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;
};
}