mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-15 00:52:07 +03:00
python312Packages.types-aiobotocore-*: track obsolete packages
This is a seperate commit to be able to revert it. This solution is less than ideal and hopefully this hack can be removed soon.
This commit is contained in:
parent
96d8191bb1
commit
bc8dc62923
@ -9,6 +9,7 @@
|
||||
setuptools,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
let
|
||||
toUnderscore = str: builtins.replaceStrings [ "-" ] [ "_" ] str;
|
||||
buildTypesAiobotocorePackage =
|
||||
@ -18,8 +19,14 @@ let
|
||||
inherit version;
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
oldStylePackages = [ "gamesparks" "iot-roborunner" "macie" ];
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "types_aiobotocore_${toUnderscore serviceName}";
|
||||
pname = if builtins.elem serviceName oldStylePackages then
|
||||
"types-aiobotocore-${serviceName}"
|
||||
else
|
||||
"types_aiobotocore_${toUnderscore serviceName}";
|
||||
inherit version hash;
|
||||
};
|
||||
build-system = [ setuptools ];
|
||||
|
Loading…
Reference in New Issue
Block a user