When you search for "mavenize" (6 hits) or "mavenizes" (8 hits) in Nixpkgs you'll find duplicated code.
It's usually something like
find $GRADLE_USER_HOME/caches/modules-2 -type f -regex '.*\.\(jar\|pom\)' \
| perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \
| sh
but there are some variations. "Mavenizing" a Gradle cache should be standardized accross Nixpkgs.
When you search for "mavenize" (6 hits) or "mavenizes" (8 hits) in Nixpkgs you'll find duplicated code.
It's usually something like
but there are some variations. "Mavenizing" a Gradle cache should be standardized accross Nixpkgs.