3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/kiwisolver/default.nix
2020-06-11 10:00:25 +02:00

34 lines
639 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, stdenv
, libcxx
, cppy
}:
buildPythonPackage rec {
pname = "kiwisolver";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "247800260cd38160c362d211dcaf4ed0f7816afb5efe56544748b21d6ad6d17f";
};
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
nativeBuildInputs = [
cppy
];
# 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;
};
}