[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix import pypi uwsgi
From: |
Ludovic Courtès |
Subject: |
Re: guix import pypi uwsgi |
Date: |
Sun, 20 Mar 2016 01:09:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Danny Milosavljevic <address@hidden> 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’.