diff --git a/glicid-tainted/packages/staging.scm b/glicid-tainted/packages/staging.scm index 825c7ee..9822fff 100644 --- a/glicid-tainted/packages/staging.scm +++ b/glicid-tainted/packages/staging.scm @@ -86,8 +86,18 @@ (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases - (delete 'check)(delete 'sanity-check)))) + (delete 'check) + (delete 'sanity-check) + (add-before 'build 'pretend-version + ;; The version string is usually derived via setuptools-scm, but + ;; without the git metadata available, the version string is set to + ;; '0.0.0'. + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))) + ))) + + (propagated-inputs (list python-h5py python-nest-asyncio python-numpy