Skip to content
Snippets Groups Projects
Verified Commit 716e7acc authored by FARGES Olivier's avatar FARGES Olivier
Browse files

add star-enclosures-2d

parent e598b91a
No related branches found
No related tags found
No related merge requests found
(define-module (edix packages star-enclosures-2d)
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix licenses)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages build-tools)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages gcc)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages maths)
#:use-module (gnu packages bash)
#:use-module (gnu packages check)
#:use-module (edix packages star-2d)
#:use-module (edix packages rsys))
(define-public star-enclosures-2d
(package
(name "star-enclosures-2d")
(version "0.6")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.com/meso-star/star-enclosures-2d.git")
(commit "0.6")))
(sha256
(base32 "11lcs6lhbjdizrf3chjg6mlnsp89h558vdml3l8vz3a6scgblzg2"))))
(build-system gnu-build-system)
(native-inputs
(list pkg-config autoconf automake libtool))
(inputs
(list gcc
gfortran
bash
gnu-make rsys star-2d
))
(arguments
`(#:make-flags (list (string-append "CC=gcc" ))
#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'check)
(replace 'build
(lambda* (#:key make-flags #:allow-other-keys)
(invoke "make" (string-join make-flags " "))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(invoke "make" "install" (string-append "PREFIX=" out))))))))
(home-page "https://meso-star.com/star-enclosures-2d") ;; Remplacez avec le bon lien
(synopsis "Bibliothèque Star-enclosures-2d")
(description "Star-enclosures-2d")
(license (list gpl3+))))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment