2ce5db779a
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
28 lines
713 B
Nix
28 lines
713 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
, fonttools, setuptools-scm
|
|
, pytest, pytest-runner
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fontMath";
|
|
version = "0.9.2";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-TIsccR4cv0upPD0IQ5NbBmGXMTEmGvCGCL3hfeEBhAQ=";
|
|
extension = "zip";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
propagatedBuildInputs = [ fonttools ];
|
|
checkInputs = [ 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 ];
|
|
};
|
|
}
|