aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))