1a04744f74
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
49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
azure-core,
|
|
buildPythonPackage,
|
|
cryptography,
|
|
fetchPypi,
|
|
isodate,
|
|
setuptools,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-storage-queue";
|
|
version = "12.14.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "azure_storage_queue";
|
|
inherit version;
|
|
hash = "sha256-j3r7MR7xuZBzFuWbs+BkU5fI12BzrbG1lfAnsXwLevE=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
azure-core
|
|
cryptography
|
|
isodate
|
|
typing-extensions
|
|
];
|
|
|
|
optional-dependencies = {
|
|
aio = [ azure-core ] ++ azure-core.optional-dependencies.aio;
|
|
};
|
|
|
|
# has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "azure.storage.queue" ];
|
|
|
|
meta = {
|
|
description = "Client library for Microsoft Azure Storage services containing the queue service APIs";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-queue_${version}/sdk/storage/azure-storage-queue/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ cmcdragonkai ];
|
|
};
|
|
}
|