Files
2026-03-27 16:02:03 -07:00

46 lines
872 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
defcon,
fontmath,
setuptools,
unicodedata2,
}:
buildPythonPackage (finalAttrs: {
pname = "mutatormath";
version = "3.0.1";
pyproject = true;
src = fetchPypi {
pname = "MutatorMath";
inherit (finalAttrs) version;
sha256 = "0r1qq45np49x14zz1zwkaayqrn7m8dn2jlipjldg2ihnmpzw29w1";
extension = "zip";
};
build-system = [ setuptools ];
dependencies = [
fontmath
unicodedata2
defcon
];
checkPhase = ''
runHook preCheck
python Lib/mutatorMath/test/run.py
runHook postCheck
'';
meta = {
description = "Piecewise linear interpolation in multiple dimensions with multiple, arbitrarily placed, masters";
homepage = "https://github.com/LettError/MutatorMath";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.sternenseemann ];
};
})