From ae7033ff5ff1d0d2571d808d40add0dd8e97bf8a Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 18 Dec 2020 00:02:50 +0100 Subject: [PATCH] gnu: python-scipy-documentation: Add a file name for 'scipy-sphinx-theme'. * gnu/packages/python-xyz.scm (python-numpy-documentation)[native-inputs]: Add a file name for the "scipy-sphinx-time" input. --- gnu/packages/python-xyz.scm | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0f8fd4d270..956bac151a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4756,14 +4756,17 @@ (define-public python-numpy-documentation ("texinfo" ,texinfo) ("perl" ,perl) ("scipy-sphinx-theme" - ,(origin ; The build script expects scipy-sphinx-theme as a git submodule - (method git-fetch) - (uri (git-reference - (url "https://github.com/scipy/scipy-sphinx-theme") - (commit "c466764e2231ba132c09826b5b138fffa1cfcec3"))) - (sha256 - (base32 - "0q2y87clwlsgc7wvlsn9pzyssybcq10plwhq2w1ydykfsyyqbmkl")))) + ,(let ((commit "c466764e2231ba132c09826b5b138fffa1cfcec3")) + (origin ;the build script expects scipy-sphinx-theme as a git submodule + (method git-fetch) + (uri (git-reference + (url "https://github.com/scipy/scipy-sphinx-theme") + (commit commit))) + (file-name (git-file-name "python-scipy-sphinx-theme" + (string-take commit 7))) + (sha256 + (base32 + "0q2y87clwlsgc7wvlsn9pzyssybcq10plwhq2w1ydykfsyyqbmkl"))))) ,@(package-native-inputs python-numpy))) (arguments `(#:tests? #f ; we're only generating the documentation