depot/third_party/nixpkgs/pkgs/development/python-modules/kiwisolver/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

33 lines
635 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;
};
}