aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2022-01-07 22:19:34 +0530
committerArun Isaac <arunisaac@systemreboot.net>2022-01-07 22:19:34 +0530
commit43f0c68425f5484ef92c879ca48e1748a953197f (patch)
treeb9c9d44fdf2c008dd402d1592005049952dc5e4b
parent73d0e1293fd6dc6563ae358a8a52e92ff5cf4edb (diff)
downloadnsmc-43f0c68425f5484ef92c879ca48e1748a953197f.tar.gz
nsmc-43f0c68425f5484ef92c879ca48e1748a953197f.tar.lz
nsmc-43f0c68425f5484ef92c879ca48e1748a953197f.zip
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.
-rw-r--r--guix.scm33
1 files 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))