nixpkgs/pkgs/development/python-modules/pyvoro/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

35 lines
974 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
version = "1.3.2";
format = "setuptools";
pname = "pyvoro";
src = fetchPypi {
inherit pname version;
sha256 = "f31c047f6e4fc5f66eb0ab43afd046ba82ce247e18071141791364c4998716fc";
};
# No tests in package
doCheck = false;
meta = with lib; {
homepage = "https://github.com/joe-jordan/pyvoro";
description = "2D and 3D Voronoi tessellations: a python entry point for the voro++ library";
license = licenses.mit;
maintainers = [ ];
# Cython generated code is vendored directly and no longer compatible with
# newer versions of the CPython C API.
#
# Upstream explicitly removed the Cython source files from the source
# distribution, making it impossible for us to force-compile them:
# https://github.com/joe-jordan/pyvoro/commit/922bba6db32d44c2e1825228627a25aa891f9bc1
#
# No upstream activity since 2014.
broken = true;
};
}