* [PATCH 5/5] gnu: Add ghc-gnuplot.
@ 2016-10-25 16:21 Federico Beffa
2016-10-28 13:45 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Federico Beffa @ 2016-10-25 16:21 UTC (permalink / raw)
To: Guix-devel
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 0005-gnu-Add-ghc-gnuplot.patch --]
[-- Type: text/x-patch, Size: 1646 bytes --]
From f06b0a9eea5ddf055cfcf7f80fe8ac6eb62972b3 Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Mon, 24 Oct 2016 17:49:35 +0200
Subject: [PATCH 5/5] gnu: Add ghc-gnuplot.
* gnu/packages/haskell.scm (ghc-gnuplot): New variable.
---
gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 3f7c853..f4995ac 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7960,4 +7960,29 @@ Accessor to access state in transformers State monad.")
helper functions for Lists, Maybes, Tuples, Functions.")
(license license:bsd-3)))
+(define-public ghc-gnuplot
+ (package
+ (name "ghc-gnuplot")
+ (version "0.5.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/gnuplot/gnuplot-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "1xz8prw9xjk0rsyrkp9bsmxykzrbhpv9qhhkdapy75mdbmgwjm7s"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-temporary" ,ghc-temporary)
+ ("ghc-utility-ht" ,ghc-utility-ht)
+ ("ghc-data-accessor-transformers" ,ghc-data-accessor-transformers)
+ ("ghc-data-accessor" ,ghc-data-accessor)))
+ (propagated-inputs `(("gnuplot" ,gnuplot)))
+ (home-page "http://www.haskell.org/haskellwiki/Gnuplot")
+ (synopsis "2D and 3D plots using gnuplot")
+ (description "This package provides a Haskell module for creating 2D and
+3D plots using gnuplot.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
--
2.10.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 5/5] gnu: Add ghc-gnuplot.
2016-10-25 16:21 [PATCH 5/5] gnu: Add ghc-gnuplot Federico Beffa
@ 2016-10-28 13:45 ` Ludovic Courtès
2016-10-28 17:06 ` Federico Beffa
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2016-10-28 13:45 UTC (permalink / raw)
To: Federico Beffa; +Cc: Guix-devel
Federico Beffa <beffa@ieee.org> skribis:
> From f06b0a9eea5ddf055cfcf7f80fe8ac6eb62972b3 Mon Sep 17 00:00:00 2001
> From: Federico Beffa <beffa@fbengineering.ch>
> Date: Mon, 24 Oct 2016 17:49:35 +0200
> Subject: [PATCH 5/5] gnu: Add ghc-gnuplot.
>
> * gnu/packages/haskell.scm (ghc-gnuplot): New variable.
[...]
> + (propagated-inputs `(("gnuplot" ,gnuplot)))
Instead of propagating it, could we instead replace “gnuplot” with
“/gnu/store/…/bin/gnuplot” in the relevant source file?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 5/5] gnu: Add ghc-gnuplot.
2016-10-28 13:45 ` Ludovic Courtès
@ 2016-10-28 17:06 ` Federico Beffa
0 siblings, 0 replies; 3+ messages in thread
From: Federico Beffa @ 2016-10-28 17:06 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Guix-devel
On Fri, Oct 28, 2016 at 3:45 PM, Ludovic Courtès <ludo@gnu.org> wrote:
> Federico Beffa <beffa@ieee.org> skribis:
>
> [...]
>
>> + (propagated-inputs `(("gnuplot" ,gnuplot)))
>
> Instead of propagating it, could we instead replace “gnuplot” with
> “/gnu/store/…/bin/gnuplot” in the relevant source file?
Good idea and easy to implement. I'll do it.
Thanks,
Fede
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-10-28 17:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-25 16:21 [PATCH 5/5] gnu: Add ghc-gnuplot Federico Beffa
2016-10-28 13:45 ` Ludovic Courtès
2016-10-28 17:06 ` Federico Beffa
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.