readarr: move to by-name

This commit is contained in:
Morgan Helton 2024-10-26 11:15:58 -05:00
parent 36ac8d7e41
commit f7ae227e38
No known key found for this signature in database
3 changed files with 3 additions and 5 deletions

View File

@ -17,15 +17,15 @@ updateHash()
hash=$(nix-prefetch-url --type sha256 $url)
sriHash="$(nix hash to-sri --type sha256 $hash)"
sed -i "s|$hashKey = \"[a-zA-Z0-9\/+-=]*\";|$hashKey = \"$sriHash\";|g" "$dirname/default.nix"
sed -i "s|$hashKey = \"[a-zA-Z0-9\/+-=]*\";|$hashKey = \"$sriHash\";|g" "$dirname/package.nix"
}
updateVersion()
{
sed -i "s/version = \"[0-9.]*\";/version = \"$1\";/g" "$dirname/default.nix"
sed -i "s/version = \"[0-9.]*\";/version = \"$1\";/g" "$dirname/package.nix"
}
currentVersion=$(cd $dirname && nix eval --raw -f ../../.. readarr.version)
currentVersion=$(cd $dirname && nix eval --raw -f ../../../.. readarr.version)
# We cannot use the latest releases as in the past Readarr released old version with v2.0 and then went back to 0.1
latestTag=$(curl https://api.github.com/repos/Readarr/Readarr/releases | jq -r ".[0].tag_name")

View File

@ -11670,8 +11670,6 @@ with pkgs;
react-native-debugger = callPackage ../development/tools/react-native-debugger { };
readarr = callPackage ../servers/readarr { };
read-edid = callPackage ../os-specific/linux/read-edid { };
readstat = callPackage ../applications/science/math/readstat { };