guix-glicid/gnu/packages/glicid.scm

255 lines
7.8 KiB
Scheme
Raw Normal View History

2020-04-21 12:30:46 +02:00
(define-module (gnu packages glicid)
2020-04-21 12:23:11 +02:00
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix licenses)
#:use-module (gnu packages gawk)
#:use-module (gnu packages gcc)
#:use-module (gnu packages commencement)
#:use-module (guix build-system python)
#:use-module ((guix licenses) #:prefix license:)
#:use-module ((guix utils) #:select (target-64bit?))
#:use-module (gnu packages)
#:use-module (gnu packages admin)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages freeipmi)
#:use-module (gnu packages linux)
#:use-module (gnu packages mpi)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages parallel)
#:use-module (gnu packages storage)
#:use-module (gnu packages networking)
#:use-module (gnu packages gtk)
#:use-module (gnu packages python)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
#:use-module (gnu packages tcl)
#:use-module (gnu packages tls)
2020-05-09 20:00:27 +02:00
#:use-module (gnu packages commencement)
#:use-module (gnu packages gcc)
2020-05-11 13:40:51 +02:00
#:use-module (srfi srfi-1)
2020-04-21 12:23:11 +02:00
#:use-module (gnu packages web))
2020-04-21 12:30:46 +02:00
(define-public glicid-hello
2020-04-21 12:23:11 +02:00
(package
2020-04-21 12:30:46 +02:00
(name "glicid-hello")
2020-04-21 12:23:11 +02:00
(version "0.01")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/hello/hello-" version
".tar.gz"))
(sha256
(base32
"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i"))))
(build-system gnu-build-system)
(arguments '(#:configure-flags '("--enable-silent-rules")))
(inputs `(("gawk" ,gawk)))
2020-04-21 12:30:46 +02:00
(synopsis "Hello, GNU world: An example GNU package, modified for GLICID")
2020-04-21 12:23:11 +02:00
(description "Guess what GNU Hello prints!")
(home-page "https://www.gnu.org/software/hello/")
(license gpl3+)))
2020-04-21 12:30:46 +02:00
(define-public glicid-syslog-ng
2020-04-21 12:23:11 +02:00
(package
2020-04-21 12:30:46 +02:00
(name "glicid-syslog-ng")
2020-04-21 12:23:11 +02:00
(version "3.25.1")
(source (origin
;; do not use auto-generated tarballs
(method git-fetch)
(uri (git-reference
(url "https://github.com/syslog-ng/syslog-ng.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"13br735ig7lygvzyfd15fc2rdygrqm503j6xj5xkrl1r7w2wipq6"))))
(build-system gnu-build-system)
(arguments '(#:configure-flags '("--enable-silent-rules")))
(inputs `(("gawk" ,gawk)))
2020-04-21 12:30:46 +02:00
(synopsis "Hello, GNU world: An example GNU package, modified for GLICID")
2020-04-21 12:23:11 +02:00
(description "Guess what GNU Hello prints!")
(home-page "https://www.gnu.org/software/hello/")
(license gpl3+)))
2020-04-21 12:30:46 +02:00
(define-public glicid-custom-slurm-19.05
2020-04-21 12:23:11 +02:00
(package
(inherit slurm)
2020-04-21 12:30:46 +02:00
(name "glicid-custom-slurm-19.05")
2020-04-21 12:23:11 +02:00
(version "19.05.6")
(source
(origin
(method url-fetch)
(uri (string-append "https://download.schedmd.com/slurm/slurm-" version ".tar.bz2"))
(sha256 (base32 "1kj79r8hng5gp98ickgvj3im4gr19nzd3p3p8g6rl75axb8jin7h"))
))
(inputs `(("gtk+-2" ,gtk+-2)
,@(package-inputs slurm)
))
))
2020-04-21 12:30:46 +02:00
(define-public glicid-custom-slurm-20.02
2020-04-21 12:23:11 +02:00
(package
2020-04-21 12:30:46 +02:00
(inherit glicid-custom-slurm-19.05)
(name "glicid-custom-slurm-20.02")
2020-05-06 17:39:35 +02:00
(version "20.02.2")
2020-04-21 12:23:11 +02:00
(source
(origin
(method url-fetch)
(uri (string-append "https://download.schedmd.com/slurm/slurm-" version ".tar.bz2"))
2020-05-06 17:39:35 +02:00
(sha256 (base32 "0bna1kyqphw6v7ca3gyfb3nlcpclc9vx8py55w7l7sv8xxsqrrvy"))
2020-04-21 12:23:11 +02:00
))
))
2020-04-21 12:30:46 +02:00
(define-public glicid-custom-slurm glicid-custom-slurm-19.05)
2020-04-21 12:23:11 +02:00
2020-04-21 12:30:46 +02:00
(define-public glicid-ceph-14
2020-04-21 12:23:11 +02:00
(package
(inherit ceph)
2020-04-21 12:30:46 +02:00
(name "glicid-ceph-14")
2020-04-21 12:23:11 +02:00
(version "14.2.9")
(source
(origin
(method url-fetch)
(uri (string-append "http://download.ceph.com/tarballs/ceph_" version ".orig.tar.gz"))
(sha256 (base32 "0zkh1a23v8g1fa5flqa2d53lv08ancab3li57gybpqpnja90k7il"))
))
))
2020-04-21 12:30:46 +02:00
(define-public glicid-librdkafka-09
2020-04-21 12:23:11 +02:00
(package
(inherit librdkafka)
2020-04-21 12:30:46 +02:00
(name "glicid-librdkafka-09")
2020-04-21 12:23:11 +02:00
(version "0.9.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/edenhill/librdkafka/archive/v" version ".tar.gz"))
(sha256 (base32 "0938yn1msaq8xcj5z7b3jcdy6rslh9kxmvz01r8rdcgbarlvchy2"))
))
))
2020-04-21 12:30:46 +02:00
(define-public glicid-ceph-15
2020-04-21 12:23:11 +02:00
(package
(inherit ceph)
2020-04-21 12:30:46 +02:00
(name "glicid-ceph-15")
2020-04-21 12:23:11 +02:00
(version "15.2.1")
(source
(origin
(method url-fetch)
(uri (string-append "http://download.ceph.com/tarballs/ceph_" version ".orig.tar.gz"))
(sha256 (base32 "0ql288dcpddi4kp3f6bcvipgi0hc8rqbsr38a18a4ia5nasfvib8"))
))
2020-04-21 12:30:46 +02:00
(inputs `(("glicid-librdkafka-09" ,glicid-librdkafka-09)
2020-04-21 12:23:11 +02:00
,@(package-inputs ceph)
))
))
2020-04-21 12:30:46 +02:00
(define-public glicid-x2go
2020-04-21 12:23:11 +02:00
(package
2020-04-21 12:30:46 +02:00
(name "glicid-x2go")
2020-04-21 12:23:11 +02:00
(version "4.1.0.3")
(source
(origin
(method url-fetch)
(uri (string-append "https://code.x2go.org/releases/source/x2goserver/x2goserver-" version ".tar.gz"))
(sha256 (base32 "1l6wd708kbipib4ldprfiihqmj4895nifg0bkws4x97majislxk7"))
))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)))
(inputs
`(("perl" , perl)))
(build-system gnu-build-system)
(synopsis "X2go")
(description "X2go")
(license "not checked")
(home-page "https://wiki.x2go.org")
)
2020-05-09 20:00:27 +02:00
)
2020-04-21 12:23:11 +02:00
2020-05-10 12:57:51 +02:00
;;(define-public glicid-fortan-toolchain-8
;; (make-gcc-toolchain gfortran))
2020-04-21 12:23:11 +02:00
2020-05-10 12:57:51 +02:00
;;(define-public glicid-fortran-toolchain-9
;; (make-gcc-toolchain gfortan))
2020-05-06 21:53:05 +02:00
2020-05-11 13:32:23 +02:00
(define %generic-search-paths
;; This is the language-neutral search path for GCC. Entries in $CPATH are
;; not considered "system headers", which means GCC can raise warnings for
;; issues in those headers. 'CPATH' is the only one that works for
;; front-ends not in the C family.
(list (search-path-specification
(variable "CPATH")
(files '("include")))
(search-path-specification
(variable "LIBRARY_PATH")
(files '("lib" "lib64")))))
(define* (custom-gcc gcc name languages
#:optional
(search-paths (package-native-search-paths gcc))
#:key (separate-lib-output? #t))
"Return a custom version of GCC that supports LANGUAGES. Use SEARCH-PATHS
as the 'native-search-paths' field."
(package (inherit gcc)
(name name)
(outputs (if separate-lib-output?
(package-outputs gcc)
(delete "lib" (package-outputs gcc))))
(native-search-paths search-paths)
(properties (alist-delete 'hidden? (package-properties gcc)))
(arguments
(substitute-keyword-arguments (package-arguments gcc)
((#:modules modules %gnu-build-system-modules)
`(,@modules
(srfi srfi-1)
(srfi srfi-26)
(ice-9 regex)))
((#:configure-flags flags)
`(cons (string-append "--enable-languages="
,(string-join languages ","))
(remove (cut string-match "--enable-languages.*" <>)
,flags)))
((#:phases phases)
`(modify-phases ,phases
(add-after 'install 'remove-broken-or-conflicting-files
(lambda* (#:key outputs #:allow-other-keys)
(for-each delete-file
(find-files (string-append (assoc-ref outputs "out") "/bin")
".*(c\\+\\+|cpp|g\\+\\+|gcov|gcc|gcc-.*)"))
#t))))))))
2020-05-11 16:32:25 +02:00
;(define-public gfortran-9
; (hidden-package
; (custom-gcc gcc-9 "gfortran" '("fortran")
; %generic-search-paths)))
;(define-public gfortran-10
; (hidden-package
; (custom-gcc gcc-10 "gfortran" '("fortran")
; %generic-search-paths)))
;
;(define-public glicid-gfortran-9 gfortran-9)
;(define-public glicid-gfortran-10 gfortran-10)
2020-04-21 12:23:11 +02:00
2020-04-21 12:30:46 +02:00
;;; glicid.scm ends here