~ruther/guix-local

dbf6da5e3bc37c28abadcb524e21a4894db713ec — Nicolas Graves 5 months ago 64ba79d
gnu: python-session-info: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-session-info):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.

Change-Id: I48c3338d947835f53945945c27f6945221232978
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 12 insertions(+), 7 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +12 -7
@@ 15811,13 15811,18 @@ and statistical routines from scipy and statsmodels.")
  (package
    (name "python-session-info")
    (version "1.0.0")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "session_info" version))
              (sha256
               (base32
                "1dxnrgaxd2nb44n423mnrx119hmnh2yxdnzaw8mg60x7rh1mxniw"))))
    (build-system python-build-system)
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://gitlab.com/joelostblom/session_info")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0w6y764qci5w9925c75xdr8jizgf8189mzzaz4zk5lw1f182yqy4"))))
    (build-system pyproject-build-system)
    (arguments (list #:tests? #f))      ; No tests.
    (native-inputs (list python-setuptools))
    (propagated-inputs (list python-stdlib-list))
    (home-page "https://gitlab.com/joelostblom/session_info")
    (synopsis "Output version information for modules currently loaded")