mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ploticus: Sort alphabetically.
* gnu/packages/plotutils.scm (ploticus): Sort alphabetically. Change-Id: I94a658af85c929d9b42d8b1b22166aba75c609c3
This commit is contained in:
parent
e776d09962
commit
12095c0cc7
1 changed files with 61 additions and 61 deletions
|
@ -296,6 +296,67 @@ went to university in the 1990s, this is the library for you.")
|
||||||
(inputs (list guile-2.2))
|
(inputs (list guile-2.2))
|
||||||
(propagated-inputs (list guile2.2-cairo))))
|
(propagated-inputs (list guile2.2-cairo))))
|
||||||
|
|
||||||
|
(define-public ploticus
|
||||||
|
(package
|
||||||
|
(name "ploticus")
|
||||||
|
(version "2.42")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://sourceforge/ploticus/ploticus/"
|
||||||
|
version "/ploticus242_src.tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1c70cvfvgjh83hj1x21130wb9qfr2rc0x47cxy9kl805yjwy8a9z"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
;; Install binaries in the right place.
|
||||||
|
'(begin
|
||||||
|
(substitute* "src/Makefile"
|
||||||
|
(("INSTALLBIN =.*$")
|
||||||
|
(string-append "INSTALLBIN = $(out)/bin")))
|
||||||
|
#t))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:tests? #f
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'configure (lambda _ (chdir "src")))
|
||||||
|
(add-before 'install 'make-target-directories
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(mkdir-p (string-append out "/bin"))
|
||||||
|
#t)))
|
||||||
|
(add-after 'install 'install-prefabs
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(dir (string-append out
|
||||||
|
"/share/ploticus/prefabs"))
|
||||||
|
(bin (string-append out "/bin")))
|
||||||
|
(mkdir-p dir)
|
||||||
|
|
||||||
|
;; Install "prefabs".
|
||||||
|
(for-each (lambda (file)
|
||||||
|
(let ((target
|
||||||
|
(string-append dir "/"
|
||||||
|
(basename file))))
|
||||||
|
(copy-file file target)))
|
||||||
|
(find-files "../prefabs" "."))
|
||||||
|
|
||||||
|
;; Allow them to be found.
|
||||||
|
(wrap-program (string-append bin "/pl")
|
||||||
|
`("PLOTICUS_PREFABS" ":" = (,dir)))))))))
|
||||||
|
(inputs
|
||||||
|
(list libpng libx11 zlib))
|
||||||
|
(home-page "https://ploticus.sourceforge.net/")
|
||||||
|
(synopsis "Command-line tool for producing plots and charts")
|
||||||
|
(description
|
||||||
|
"Ploticus is a non-interactive software package for producing plots,
|
||||||
|
charts, and graphics from data. Ploticus is good for automated or
|
||||||
|
just-in-time graph generation, handles date and time data nicely, and has
|
||||||
|
basic statistical capabilities. It allows significant user control over
|
||||||
|
colors, styles, options and details.")
|
||||||
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public plotutils
|
(define-public plotutils
|
||||||
(package
|
(package
|
||||||
(name "plotutils")
|
(name "plotutils")
|
||||||
|
@ -363,67 +424,6 @@ for 2D vector graphics animations. The package also contains command-line
|
||||||
programs for plotting scientific data.")
|
programs for plotting scientific data.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public ploticus
|
|
||||||
(package
|
|
||||||
(name "ploticus")
|
|
||||||
(version "2.42")
|
|
||||||
(source (origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (string-append "mirror://sourceforge/ploticus/ploticus/"
|
|
||||||
version "/ploticus242_src.tar.gz"))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1c70cvfvgjh83hj1x21130wb9qfr2rc0x47cxy9kl805yjwy8a9z"))
|
|
||||||
(modules '((guix build utils)))
|
|
||||||
(snippet
|
|
||||||
;; Install binaries in the right place.
|
|
||||||
'(begin
|
|
||||||
(substitute* "src/Makefile"
|
|
||||||
(("INSTALLBIN =.*$")
|
|
||||||
(string-append "INSTALLBIN = $(out)/bin")))
|
|
||||||
#t))))
|
|
||||||
(build-system gnu-build-system)
|
|
||||||
(arguments
|
|
||||||
'(#:tests? #f
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(replace 'configure (lambda _ (chdir "src")))
|
|
||||||
(add-before 'install 'make-target-directories
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let ((out (assoc-ref outputs "out")))
|
|
||||||
(mkdir-p (string-append out "/bin"))
|
|
||||||
#t)))
|
|
||||||
(add-after 'install 'install-prefabs
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
|
||||||
(dir (string-append out
|
|
||||||
"/share/ploticus/prefabs"))
|
|
||||||
(bin (string-append out "/bin")))
|
|
||||||
(mkdir-p dir)
|
|
||||||
|
|
||||||
;; Install "prefabs".
|
|
||||||
(for-each (lambda (file)
|
|
||||||
(let ((target
|
|
||||||
(string-append dir "/"
|
|
||||||
(basename file))))
|
|
||||||
(copy-file file target)))
|
|
||||||
(find-files "../prefabs" "."))
|
|
||||||
|
|
||||||
;; Allow them to be found.
|
|
||||||
(wrap-program (string-append bin "/pl")
|
|
||||||
`("PLOTICUS_PREFABS" ":" = (,dir)))))))))
|
|
||||||
(inputs
|
|
||||||
(list libpng libx11 zlib))
|
|
||||||
(home-page "https://ploticus.sourceforge.net/")
|
|
||||||
(synopsis "Command-line tool for producing plots and charts")
|
|
||||||
(description
|
|
||||||
"Ploticus is a non-interactive software package for producing plots,
|
|
||||||
charts, and graphics from data. Ploticus is good for automated or
|
|
||||||
just-in-time graph generation, handles date and time data nicely, and has
|
|
||||||
basic statistical capabilities. It allows significant user control over
|
|
||||||
colors, styles, options and details.")
|
|
||||||
(license license:gpl2+)))
|
|
||||||
|
|
||||||
(define-public ruby-unicode-plot
|
(define-public ruby-unicode-plot
|
||||||
(package
|
(package
|
||||||
(name "ruby-unicode-plot")
|
(name "ruby-unicode-plot")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue