12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
20 inherit pname version;
21 hash = "sha256-5X5WOlf7IqFC2jTziswvwaXIZLwpyhUXqIq8lj5g1uw=";
24 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-I${lib.getDev libcxx}/include/c++/v1";
26 nativeBuildInputs = [ setuptools-scm ];
28 buildInputs = [ cppy ];
30 pythonImportsCheck = [ "kiwisolver" ];
33 description = "Implementation of the Cassowary constraint solver";
34 homepage = "https://github.com/nucleic/kiwi";
35 license = licenses.bsd3;