2018-04-05 20:07:22 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2018-06-15 19:00:33 +01:00
|
|
|
, stdenv
|
|
|
|
, libcxx
|
2018-04-05 20:07:22 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "kiwisolver";
|
|
|
|
version = "1.0.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "ce3be5d520b4d2c3e5eeb4cd2ef62b9b9ab8ac6b6fedbaa0e39cdb6f50644278";
|
|
|
|
};
|
2018-06-15 19:00:33 +01:00
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
|
|
|
|
|
2018-04-05 20:07:22 +01:00
|
|
|
# Does not include tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A fast implementation of the Cassowary constraint solver";
|
|
|
|
homepage = https://github.com/nucleic/kiwi;
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
2018-06-15 19:00:33 +01:00
|
|
|
}
|