guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

238/328: gnu: Add ghc-infer-license.


From: guix-commits
Subject: 238/328: gnu: Add ghc-infer-license.
Date: Sat, 16 Nov 2019 19:33:16 -0500 (EST)

samplet pushed a commit to branch wip-haskell-updates
in repository guix.

commit 0e4fd6b238493f849da836055e8f41356948d398
Author: Timothy Sample <address@hidden>
Date:   Tue Nov 5 14:03:40 2019 -0500

    gnu: Add ghc-infer-license.
    
    * gnu/packages/haskell-xyz.scm (ghc-infer-license): New variable.
---
 gnu/packages/haskell-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 46bf1e5..e0aa5ee 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -5208,6 +5208,30 @@ contexts.  It parses blocks of lines all indented to the 
same level as well as
 lines continued at an indented level below.")
     (license license:bsd-3)))
 
+(define-public ghc-infer-license
+  (package
+    (name "ghc-infer-license")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/";
+                           "infer-license/infer-license-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0wlfm6bf55kfvm74xar9lmjg5v1103rs9m3grw1rq5bmcmhzxrhj"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-text-metrics" ,ghc-text-metrics)))
+    (native-inputs
+     `(("ghc-hspec" ,ghc-hspec)
+       ("hspec-discover" ,hspec-discover)))
+    (home-page "http://hackage.haskell.org/package/infer-license";)
+    (synopsis "Infer software license from a given license file")
+    (description "This library provides tools to infer a software
+license from a given license file.")
+    (license license:expat)))
+
 (define-public ghc-inline-c
   (package
     (name "ghc-inline-c")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]