python312Packages.types-aiobotocore: use nix hash convert
This commit is contained in:
parent
65739f07c3
commit
7b391f6c51
@ -371,7 +371,7 @@ for package in "${packages[@]}"; do
|
||||
|
||||
url="https://pypi.io/packages/source/t/${package}/${package//-/_}-${version}.tar.gz"
|
||||
hash=$(nix-prefetch-url --type sha256 $url)
|
||||
sri_hash="$(nix hash to-sri --type sha256 $hash)"
|
||||
sri_hash="$(nix hash convert --hash-algo sha256 --to sri $hash)"
|
||||
package_short="${package#types-aiobotocore-}"
|
||||
|
||||
awk -i inplace -v pkg="$package" -v pkg_short="$package_short" -v ver="$version" -v hash="$sri_hash" '
|
||||
|
Loading…
Reference in New Issue
Block a user