From 30a446254e4a488b891ee3b9a7eebfb3bc65cb90 Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Tue, 7 Feb 2017 18:00:25 +0300 Subject: [PATCH 1/3] gnu: Add python-pycosat * gnu/packages/python.scm (python-pycosat): New variable --- gnu/packages/python.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6562df4..419255b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12590,3 +12590,27 @@ faster ones are not available.") it with different test data, and make it appear as multiple test cases") (license (license:non-copyleft "https://github.com/txels/ddt/blob/master/LICENSE.md")))) + +(define-public python-pycosat + (package + (name "python-pycosat") + (version "0.6.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/76/0f/16edae7bc75b79376f2c260b7a459829785f" + "08e463ecf74a8ccdef62dd4a/pycosat-" + version + ".tar.gz")) + (sha256 + (base32 + "1kl3wh1f47rc712n4bmwplbx3fqz3x9i1b587jrbpmvdva4c8f6l")))) + (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 picosat on the C level, i.e. + when importing pycosat, the picosat solver becomes part of the Python process itself") + (license license:expat))) -- 2.1.4