mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: Merge the two stellaria into one.
* gnu/packages/astronomy.scm (stellaruim): Merge details from stellarium-0.14. * gnu/packages/education.scm (stellarium): Remove variable.
This commit is contained in:
parent
ec4102f57f
commit
f1021afb41
2 changed files with 24 additions and 55 deletions
|
@ -118,24 +118,31 @@ (define-public stellarium
|
||||||
(package
|
(package
|
||||||
(name "stellarium")
|
(name "stellarium")
|
||||||
(version "0.15.1")
|
(version "0.15.1")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://sourceforge/stellarium/Stellarium-sources/"
|
(uri (string-append "mirror://sourceforge/stellarium/"
|
||||||
|
"Stellarium-sources/"
|
||||||
version "/stellarium-" version ".tar.gz"))
|
version "/stellarium-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"04avigz8i8mi2x6x71bqr9np85n1p9qnvbj2hxr947f1jv22zr8g"))))
|
"04avigz8i8mi2x6x71bqr9np85n1p9qnvbj2hxr947f1jv22zr8g"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
|
||||||
`(#:tests? #f)) ; There are no tests.
|
|
||||||
(home-page "https://www.gnu.org/software/stellarium")
|
|
||||||
(inputs `(("qt" ,qt)
|
(inputs `(("qt" ,qt)
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(native-inputs `(("gettext" ,gettext-minimal)
|
(native-inputs `(("gettext" ,gettext-minimal) ; xgettext is used at compile time
|
||||||
("perl" ,perl)))
|
("perl" ,perl))) ; For pod2man
|
||||||
(synopsis "Nocturnal sky renderering program")
|
(arguments
|
||||||
(description "Stellarium renders a realistic image of the sky in real time.
|
`(#:test-target "tests"
|
||||||
With Stellarium, you really see what you can see with your eyes, binoculars or a
|
#:phases (modify-phases %standard-phases
|
||||||
small telescope.")
|
(add-before 'check 'set-offscreen-display
|
||||||
|
(lambda _
|
||||||
|
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||||
|
(setenv "HOME" "/tmp")
|
||||||
|
#t)))))
|
||||||
|
(home-page "http://www.stellarium.org/")
|
||||||
|
(synopsis "3D sky viewer")
|
||||||
|
(description "Stellarium is a planetarium. It shows a realistic sky in
|
||||||
|
3D, just like what you see with the naked eye, binoculars, or a telescope. It
|
||||||
|
can be used to control telescopes over a serial port for tracking celestial
|
||||||
|
objects.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
|
@ -43,44 +43,6 @@ (define-module (gnu packages education)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
#:use-module (srfi srfi-1))
|
#:use-module (srfi srfi-1))
|
||||||
|
|
||||||
(define-public stellarium
|
|
||||||
(package
|
|
||||||
(name "stellarium")
|
|
||||||
(version "0.14.2")
|
|
||||||
(source (origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (string-append "mirror://sourceforge/stellarium/"
|
|
||||||
"Stellarium-sources/"
|
|
||||||
version "/stellarium-" version ".tar.gz"))
|
|
||||||
(sha256 (base32
|
|
||||||
"1xxil0rv61zc08znfv83cpsc47y1gjl2f3njhz0pn5zd8jpaa15a"))))
|
|
||||||
(build-system cmake-build-system)
|
|
||||||
(inputs
|
|
||||||
`(("qtbase" ,qtbase)
|
|
||||||
("zlib" ,zlib)
|
|
||||||
("qtserialport" ,qtserialport)
|
|
||||||
("qtscript" ,qtscript)
|
|
||||||
("gettext" ,gettext-minimal)))
|
|
||||||
(native-inputs
|
|
||||||
`(("qtbase" ,qtbase) ;Qt MOC is needed at compile time
|
|
||||||
("qttools" ,qttools)
|
|
||||||
("perl" ,perl))) ;for 'pod2man'
|
|
||||||
(arguments
|
|
||||||
`(#:test-target "tests"
|
|
||||||
#:phases (modify-phases %standard-phases
|
|
||||||
(add-before 'check 'set-offscreen-display
|
|
||||||
(lambda _
|
|
||||||
(setenv "QT_QPA_PLATFORM" "offscreen")
|
|
||||||
(setenv "HOME" "/tmp")
|
|
||||||
#t)))))
|
|
||||||
(home-page "http://www.stellarium.org/")
|
|
||||||
(synopsis "3D sky viewer")
|
|
||||||
(description "Stellarium is a planetarium. It shows a realistic sky in
|
|
||||||
3D, just like what you see with the naked eye, binoculars, or a telescope. It
|
|
||||||
can be used to control telescopes over a serial port for tracking celestial
|
|
||||||
objects.")
|
|
||||||
(license license:gpl2+)))
|
|
||||||
|
|
||||||
(define-public gcompris
|
(define-public gcompris
|
||||||
(package
|
(package
|
||||||
(name "gcompris")
|
(name "gcompris")
|
||||||
|
|
Loading…
Reference in a new issue