Hi, On 5/1/22 16:37, Ludovic Courtès wrote: > Philip McGrath skribis: > >> + (package >> + (name "elm-virtual-dom") > > [...] > >> + (properties '((upstream-name . "elm/virtual-dom"))))) > > Could/should the importer infer the upstream name from the Guix name by > default? > > That way, we’d only need to specify that property where the automatic > Guix->upstream name mapping wouldn’t work. It could, but the heuristics seemed a bit brittle. To pick a few examples: 1. elm-virtual-dom -> "elm/virtual-dom" 2. elm-explorations-markdown -> "elm-explorations/markdown" 2. elm-terezka-intervals -> "terezka/intervals" We could add a special case for the "elm-explorations/*" namespace, but at least one of the others would need an explicit property. I *think* most of the packages in the "elm/*" namespace are single-element (e.g. "elm/html"), so maybe we could require the property for e.g. "elm/virtual-dom" and "elm/project-metadata-utils" ... -Philip