Request: gradle fetchDeps overriding url
Nobody has claimed this yet.
- Dominant language
- Nix
- Stars
- 26.2k
- Forks
- 20.1k
- PR merge metrics
- PR metrics pending
Description
Nixpkgs version
- Unstable (26.05)
Describe the proposed module
add the support to override the url.
I found this in my lockfile. Their gradle building process is fetching a url that changes content everyday :(
"play-sdk/index/snapshot": {
"gz": "sha256-fV4F9DkAe9jB/B6+2/CD5ii8oHfLO0VBsJOcpQomWZI="
}
Additional context
overrides https://github.com/tadfisher/gradle2nix/pull/62#issuecomment-2183103724
Notify maintainers
ask @chayleaf @mrcjkb @FliegendeWurst
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this module does not yet exist in an open pull request or in NixOS Unstable.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the gradle fetchDeps module and reviewing how the lockfile entry for play-sdk/index/snapshot is fetched. Use the linked gradle2nix discussion for context, then verify that a configurable URL override is honored instead of the changing upstream URL.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100