nixpkgs/pkgs/development/python-modules/fontmath/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

29 lines
719 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27
, fonttools, setuptools-scm
, pytest, pytest-runner
}:
buildPythonPackage rec {
pname = "fontMath";
version = "0.9.3";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-alOHy3/rEFlY2y9c7tyHhRPMNb83FeJiCQ8FV74MGxw=";
extension = "zip";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ fonttools ];
nativeCheckInputs = [ pytest pytest-runner ];
meta = with lib; {
description = "A collection of objects that implement fast font, glyph, etc. math";
homepage = "https://github.com/robotools/fontMath/";
license = licenses.mit;
maintainers = [ maintainers.sternenseemann ];
};
}