aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
blob: 3ee233a365e68678ff50d5c8cefcc128acfd790d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
(use-modules (gnu packages machine-learning)
             (gnu packages python)
             (gnu packages python-xyz)
             (guix build-system gnu)
             (guix git)
             (guix packages)
             (guix licenses))

(package
  (name "simulazione-numerica")
  (version "0.1.0")
  (source
   (git-checkout (url (dirname (current-filename)))))
  (build-system gnu-build-system)
  (arguments
   `(#:phases (modify-phases %standard-phases
                (delete 'check)
                (replace 'configure
                  (lambda _
                    (substitute* "Makefile"
                      (("\\$\\(CC\\)")
                       "gcc")) #t))
                (replace 'install
                  (lambda* (#:key outputs #:allow-other-keys)
                    (let ((out (assoc-ref outputs "out")))
                      (invoke "make" "install"
                              (string-append "DESTDIR=" out) "PREFIX=")))))))
  (inputs (list python
                jupyter
                python-jupyter-client
                python-ipykernel
                python-jupytext
                python-notebook
                python-matplotlib
                python-numpy
                tensorflow))
  (home-page "https://git.marioforzanini.com/simulazione-numerica")
  (synopsis "Modify me")
  (description "")
  (license gpl3+))