nixpkgs/pkgs/development/python-modules/kiwisolver/default.nix

29 lines
593 B
Nix
Raw Normal View History

2018-04-05 12:07:22 -07:00
{ lib
, buildPythonPackage
, fetchPypi
, stdenv
, libcxx
2018-04-05 12:07:22 -07:00
}:
buildPythonPackage rec {
pname = "kiwisolver";
2020-06-05 23:47:16 -07:00
version = "1.2.0";
2018-04-05 12:07:22 -07:00
src = fetchPypi {
inherit pname version;
2020-06-05 23:47:16 -07:00
sha256 = "247800260cd38160c362d211dcaf4ed0f7816afb5efe56544748b21d6ad6d17f";
2018-04-05 12:07:22 -07:00
};
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
2018-04-05 12:07:22 -07:00
# Does not include tests
doCheck = false;
meta = {
description = "A fast implementation of the Cassowary constraint solver";
homepage = "https://github.com/nucleic/kiwi";
2018-04-05 12:07:22 -07:00
license = lib.licenses.bsd3;
};
}