diff options
author | Siniša Biđin <sinisa@bidin.eu> | 2015-08-18 22:40:11 +0200 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-08-23 16:49:57 -0500 |
commit | 1c77d0caa97eae5446da1b0c9e40bfedd18c80e3 (patch) | |
tree | b4a1033d067a9db9c00bbce42d9f871762d54043 | |
parent | 7fc7186ede334f81a1a6396aa5e4e799da5f59ae (diff) | |
download | gnu-guix-1c77d0caa97eae5446da1b0c9e40bfedd18c80e3.tar gnu-guix-1c77d0caa97eae5446da1b0c9e40bfedd18c80e3.tar.gz |
gnu: Add ghc-data-default.
* gnu/packages/haskell.scm (ghc-data-default): New variable.
Signed-off-by: Eric Bavier <bavier@member.fsf.org>
-rw-r--r-- | gnu/packages/haskell.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 0f83f230b2..d6d15c113d 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -238,6 +238,39 @@ interactive environment for the functional language Haskell.") (license bsd-3))) +(define-public ghc-data-default + (package + (name "ghc-data-default") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/data-default/data-default-" + version + ".tar.gz")) + (sha256 + (base32 "0d1hm0l9kim3kszshr4msmgzizrzha48gz2kb7b61p7n3gs70m7c")))) + (build-system haskell-build-system) + (propagated-inputs + `(("ghc-data-default-class" + ,ghc-data-default-class) + ("ghc-data-default-instances-base" + ,ghc-data-default-instances-base) + ("ghc-data-default-instances-containers" + ,ghc-data-default-instances-containers) + ("ghc-data-default-instances-dlist" + ,ghc-data-default-instances-dlist) + ("ghc-data-default-instances-old-locale" + ,ghc-data-default-instances-old-locale))) + (home-page "http://hackage.haskell.org/package/data-default") + (synopsis "Types with default values") + (description + "This package defines a class for types with a default value, and +provides instances for types from the base, containers, dlist and old-locale +packages.") + (license bsd-3))) + (define-public ghc-data-default-class (package (name "ghc-data-default-class") |