Files
nixpkgs/pkgs/development/python-modules/azure-multiapi-storage/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

53 lines
969 B
Nix

{
lib,
azure-common,
azure-core,
buildPythonPackage,
cryptography,
fetchPypi,
msrest,
requests,
setuptools,
python-dateutil,
}:
buildPythonPackage rec {
pname = "azure-multiapi-storage";
version = "1.6.0";
pyproject = true;
src = fetchPypi {
pname = "azure_multiapi_storage";
inherit version;
hash = "sha256-iULj9O2+3dI82hms7nlgdvvNGkDkb5qhEQ/9oxTjHFU=";
};
build-system = [ setuptools ];
dependencies = [
azure-common
azure-core
cryptography
msrest
requests
python-dateutil
];
# fix namespace
pythonNamespaces = [ "azure.multiapi" ];
# no tests included
doCheck = false;
pythonImportsCheck = [
"azure.multiapi.storagev2"
];
meta = {
description = "Microsoft Azure Storage Client Library for Python with multi API version support";
homepage = "https://github.com/Azure/azure-multiapi-storage-python";
license = lib.licenses.mit;
maintainers = [ ];
};
}