depot/third_party/nixpkgs/pkgs/development/python-modules/fontmath/default.nix
Default email 2ce5db779a Project import generated by Copybara.
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
2022-05-18 16:49:53 +02:00

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 ];
};
}