git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #5321 from teh/master

Add pycosat.

commit3e66ed04322ccff2721287567acc63e68274e06e authorArseniy Seroka <jagajaga@users.noreply.github.com> dateSat 13 Dec 2014, 23:25 (12 years ago) parent9a7d4256793571
1 file changed+21
pkgs/top-level/python-packages.nix+21
pkgs/top-level/python-packages.nix+21
@@ -6901,6 +6901,27 @@ let
69016901 };
69026902 };
69036903
6904+ pycosat = pythonPackages.buildPythonPackage rec {
6905+ name = "pycosat-0.6.0";
6906+
6907+ propagatedBuildInputs = with pythonPackages; [ ];
6908+
6909+ src = pkgs.fetchurl {
6910+ url = "https://pypi.python.org/packages/source/p/pycosat/${name}.tar.gz";
6911+ sha256 = "02sdn2998jlrm35smn1530hix3kzwyc1jv49cjdcnvfvrqqi3rww";
6912+ };
6913+
6914+ meta = with stdenv.lib; {
6915+ description = ''PicoSAT is a popular SAT solver written by Armin
6916+ Biere in pure C. This package provides efficient Python bindings
6917+ to picosat on the C level, i.e. when importing pycosat, the
6918+ picosat solver becomes part of the Python process itself. For
6919+ ease of deployment, the picosat source (namely picosat.c and
6920+ picosat.h) is included in this project.'';
6921+ homepage = https://github.com/ContinuumIO/pycosat;
6922+ license = licenses.mit;
6923+ };
6924+ };
69046925
69056926 pygit2 = buildPythonPackage rec {
69066927 name = "pygit2-0.21.2";