summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-sat
diff options
context:
space:
mode:
authormarius david <mariusdavid@laposte.net>2020-10-18 10:30:07 +0200
committermarius david <mariusdavid@laposte.net>2020-10-18 10:30:07 +0200
commit1c8204e0fa75f3fe8a2c8dfa20124c4bfda6ebae (patch)
tree60d8039bf7931773d73b5b3c08cded37a746b111 /pkgs/development/python-modules/python-sat
parent487c1902b5daff9d738aa5af4cfe9ad878fb0280 (diff)
python3Packages.python-sat: init at 0.1.6.dev6
Diffstat (limited to 'pkgs/development/python-modules/python-sat')
-rw-r--r--pkgs/development/python-modules/python-sat/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-sat/default.nix b/pkgs/development/python-modules/python-sat/default.nix
new file mode 100644
index 000000000000..ea3d1bfb444a
--- /dev/null
+++ b/pkgs/development/python-modules/python-sat/default.nix
@@ -0,0 +1,24 @@
+{ buildPythonPackage, fetchFromGitHub, lib, six, pypblib, pytestCheckHook }:
+
+buildPythonPackage rec {
+ pname = "python-sat";
+ version = "0.1.6.dev6";
+
+ src = fetchFromGitHub {
+ owner = "pysathq";
+ repo = "pysat";
+ rev = version;
+ sha256 = "1gckxhqkvzyw7pmwg8xzxq146jysqy0s23l5mjc3awm6swdij66y";
+ };
+
+ propagatedBuildInputs = [ six pypblib ];
+
+ checkInputs = [ pytestCheckHook ];
+
+ meta = with lib; {
+ description = "Toolkit to provide interface for various SAT (without optional dependancy py-aiger-cnf)";
+ homepage = "https://github.com/pysathq/pysat";
+ license = licenses.mit;
+ maintainers = [ maintainers.marius851000 ];
+ };
+}