From 43f0c68425f5484ef92c879ca48e1748a953197f Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 7 Jan 2022 22:19:34 +0530 Subject: Add python dependencies to manifest. * guix.scm: Import (guix build-system python), (guix download), (gnu packages check), (gnu packages python), (gnu packages python-science) and (gnu packages python-xyz). (python-sambal): New variable. Add python, python-matplotlib, python-numpy, python-sambal and python-scipy to manifest. --- guix.scm | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/guix.scm b/guix.scm index 5218b90..ccebd8f 100644 --- a/guix.scm +++ b/guix.scm @@ -5,17 +5,23 @@ (use-modules (guix build-system cmake) (guix build-system guile) + (guix build-system python) + (guix download) (guix gexp) (guix git-download) ((guix licenses) #:prefix license:) (guix packages) (guix utils) (gnu packages bash) + (gnu packages check) (gnu packages code) (gnu packages guile) (gnu packages guile-xyz) (gnu packages maths) - (gnu packages pkg-config)) + (gnu packages pkg-config) + (gnu packages python) + (gnu packages python-science) + (gnu packages python-xyz)) (define %source-dir (dirname (current-filename))) @@ -106,5 +112,28 @@ (description "Compile scheme-like S-expressions to C") (license license:gpl3+))) +(define python-sambal + (package + (name "python-sambal") + (version "0.1.0") + (home-page "https://git.systemreboot.net/sambal") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sambal" version)) + (sha256 + (base32 "0isna596k2cdp54c48gi988z51w49kix1k12vp1f5629ysy9rmrz")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-scipy" ,python-scipy))) ; scipy is only required for + ; tests. + (propagated-inputs + `(("python-numpy" ,python-numpy))) + (synopsis "Sample balls, spheres, spherical caps") + (description "Sample balls, spheres, spherical caps") + (license license:gpl3+))) + (packages->manifest - (list gsl guile-3.0 indent pkg-config sph-sc)) + (list gsl guile-3.0 indent pkg-config sph-sc + python python-matplotlib python-numpy python-sambal python-scipy)) -- cgit v1.2.3