Danny Milosavljevic <dan...@scratchpost.org> skribis:

> Something like this:
>
> diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
> index d54bb9f..6889f0e 100644
> --- a/guix/import/pypi.scm
> +++ b/guix/import/pypi.scm
> @@ -194,7 +194,8 @@ VERSION, SOURCE-URL, HOME-PAGE, SYNOPSIS, DESCRIPTION, 
> and LICENSE."
>               (version ,version)
>               (source (origin
>                         (method url-fetch)
> -                       (uri (pypi-uri ,name version))
> +                       (uri ,(if (equal? (pypi-uri name version) source-url) 
> `(pypi-uri ,name version)
> +                                                                             
> source-url))
>                         (sha256
>                          (base32
>                           ,(guix-hash-url temp)))))

Indeed.  Pushed something along these lines in commit
522773b70024272555aab0448fae8606add4c582.

Thanks!

Ludo’.

Reply via email to