-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add doc/examples/clusters/gricad/python-fluidsim.scm
- Loading branch information
Showing
1 changed file
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
(define-module (common python-fluidsim) | ||
#:use-module (guix) | ||
#:use-module ((guix licenses) #:prefix license:) | ||
#:use-module (guix build-system pyproject) | ||
#:use-module (guix build-system python) | ||
#:use-module (guix build-system meson) | ||
#:use-module (guix build utils) | ||
#:use-module (guix git-download) | ||
#:use-module (guix hg-download) | ||
#:use-module (guix utils) | ||
#:use-module (common python-packages) | ||
#:use-module (gnu packages) | ||
#:use-module (gnu packages mpi) | ||
#:use-module (gnu packages web) | ||
#:use-module (gnu packages rust) | ||
#:use-module (gnu packages rust-apps) | ||
#:use-module (gnu packages crates-io) | ||
#:use-module (gnu packages statistics) | ||
#:use-module (gnu packages bioinformatics) | ||
#:use-module (gnu packages build-tools) | ||
#:use-module (gnu packages pkg-config) | ||
#:use-module (gnu packages cmake) | ||
#:use-module (gnu packages cpp) | ||
#:use-module (gnu packages gcc) | ||
#:use-module (gnu packages python) | ||
#:use-module (gnu packages python-check) | ||
#:use-module (gnu packages python-web) | ||
#:use-module (gnu packages python-build) | ||
#:use-module (gnu packages python-xyz) | ||
#:use-module (gnu packages python-science) | ||
#:use-module (gnu packages check) | ||
#:use-module (gnu packages sphinx) | ||
#:use-module (common python-fluidfft) | ||
#:use-module (common python-fluiddyn)) | ||
|
||
|
||
;; package python-fluidsim | ||
(define-public python-fluidsim | ||
(package | ||
(name "python-fluidsim") | ||
(version "0.8.1") | ||
(source | ||
(origin | ||
(method hg-fetch) | ||
(uri | ||
(hg-reference | ||
(url "https://foss.heptapod.net/fluiddyn/fluidsim") | ||
(commit 62c4dbe4f786))) | ||
(sha256 | ||
(base32 "???")))) | ||
(build-system pyproject-build-system) | ||
(propagated-inputs (list python-fluidfft | ||
python-fluidsim-core | ||
python-h5netcdf | ||
python-h5py | ||
python-ipython | ||
python-matplotlib | ||
python-mpi4py | ||
python-pyfftw | ||
python-pymech | ||
python-rich | ||
python-scipy | ||
python-transonic | ||
python-xarray | ||
)) | ||
(arguments '(#:phases (modify-phases %standard-phases | ||
; On patche le HOME | ||
(add-before 'build 'patch-HOME-path | ||
(lambda _ | ||
(setenv "HOME" (getenv "out")) | ||
)) | ||
;; On remove la phase de check et de sanity-check | ||
(delete 'check) | ||
(delete 'sanity-check)))) | ||
(home-page "") | ||
(synopsis "Framework for studying fluid dynamics with simulations.") | ||
(description "Framework for studying fluid dynamics with simulations.") | ||
(license #f))) |