mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 20:02:14 +03:00
python3Packages.python-sat: fix on darwin
This commit is contained in:
parent
af46b31130
commit
71088b0b10
@ -15,6 +15,19 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
# https://github.com/pysathq/pysat/pull/102
|
||||
postPatch = ''
|
||||
# Fix for case-insensitive filesystem
|
||||
cat >>solvers/patches/cadical.patch <<EOF
|
||||
diff --git solvers/cadical/VERSION solvers/cdc/VERSION
|
||||
deleted file mode 100644
|
||||
--- solvers/cadical/VERSION
|
||||
+++ /dev/null
|
||||
@@ -1 +0,0 @@
|
||||
-1.0.3
|
||||
EOF
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Toolkit to provide interface for various SAT (without optional dependancy py-aiger-cnf)";
|
||||
homepage = "https://github.com/pysathq/pysat";
|
||||
|
Loading…
Reference in New Issue
Block a user