{ buildPythonPackage, fetchFromGitHub, lib, six, pypblib, pytestCheckHook }: buildPythonPackage rec { pname = "python-sat"; version = "0.1.7.dev1"; src = fetchFromGitHub { owner = "pysathq"; repo = "pysat"; rev = version; sha256 = "sha256-zGdgD+SgoMB7/zDQI/trmV70l91TB7OkDxaJ30W3dkI="; }; propagatedBuildInputs = [ six pypblib ]; checkInputs = [ pytestCheckHook ]; # https://github.com/pysathq/pysat/pull/102 postPatch = '' # Fix for case-insensitive filesystem cat >>solvers/patches/cadical.patch <