python3Packages.mutatormath: modernize (#504235)
This commit is contained in:
@@ -4,31 +4,37 @@
|
||||
fetchPypi,
|
||||
defcon,
|
||||
fontmath,
|
||||
setuptools,
|
||||
unicodedata2,
|
||||
fs,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "mutatormath";
|
||||
version = "3.0.1";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "MutatorMath";
|
||||
inherit version;
|
||||
inherit (finalAttrs) version;
|
||||
sha256 = "0r1qq45np49x14zz1zwkaayqrn7m8dn2jlipjldg2ihnmpzw29w1";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
fontmath
|
||||
unicodedata2
|
||||
defcon
|
||||
];
|
||||
nativeCheckInputs = [
|
||||
unicodedata2
|
||||
fs
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
python Lib/mutatorMath/test/run.py
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Piecewise linear interpolation in multiple dimensions with multiple, arbitrarily placed, masters";
|
||||
@@ -36,4 +42,4 @@ buildPythonPackage rec {
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ lib.maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user