nixpkgs/pkgs/development/python-modules/fontmath/default.nix

29 lines
714 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, isPy27
, fonttools, setuptools-scm
, pytest, pytest-runner
2020-08-25 15:26:26 +00:00
}:
buildPythonPackage rec {
pname = "fontMath";
version = "0.8.1";
disabled = isPy27;
2020-08-25 15:26:26 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "0m2z2wwbxwljfcrg8hx4xq538adzcjpc352yqbfw0czbgs5ixmrr";
2020-08-25 15:26:26 +00:00
extension = "zip";
};
nativeBuildInputs = [ setuptools-scm ];
2020-08-25 15:26:26 +00:00
propagatedBuildInputs = [ fonttools ];
checkInputs = [ pytest pytest-runner ];
2020-08-25 15:26:26 +00:00
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 ];
};
}