guix-commits
[Top][All Lists]
Advanced

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

06/07: gnu: Add python-pycosat.


From: Marius Bakke
Subject: 06/07: gnu: Add python-pycosat.
Date: Thu, 9 Feb 2017 17:47:47 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 2299b13738ae819a9c34ebe396bd2adfe426b0ba
Author: Muriithi Frederick Muriuki <address@hidden>
Date:   Thu Feb 9 20:48:35 2017 +0300

    gnu: Add python-pycosat.
    
    * gnu/packages/python.scm (python-pycosat, python2-pycosat): New variables.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/python.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7ee9376..a4f5edc 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12608,3 +12608,28 @@ it with different test data, and make it appear as 
multiple test cases.")
 
 (define-public python2-ddt
   (package-with-python2 python-ddt))
+
+(define-public python-pycosat
+  (package
+    (name "python-pycosat")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pycosat" version))
+       (sha256
+        (base32
+         "1kl3wh1f47rc712n4bmwplbx3fqz3x9i1b587jrbpmvdva4c8f6l"))))
+    ;; TODO: Unundle picosat. http://fmv.jku.at/picosat/
+    (build-system python-build-system)
+    (home-page "https://github.com/ContinuumIO/pycosat";)
+    (synopsis "Bindings to picosat (a SAT solver)")
+    (description
+     "This package provides efficient Python bindings to @code{picosat} on
+the C level.  When importing pycosat, the @code{picosat} solver becomes part
+of the Python process itself.  @code{picosat} is a @dfn{Boolean Satisfiability
+Problem} (SAT) solver.")
+    (license license:expat)))
+
+(define-public python2-pycosat
+  (package-with-python2 python-pycosat))



reply via email to

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