Commit dc997637 authored by jopejoe1's avatar jopejoe1
Browse files

python3Packages.vttlib: init at 0.12.0

parent 185f7f40
Loading
Loading
Loading
Loading
+51 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
  setuptools-scm,
  fonttools,
  pyparsing,
  ufolib2,
  ufo2ft,
}:

buildPythonPackage rec {
  pname = "vttlib";
  version = "0.12.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "daltonmaag";
    repo = "vttLib";
    rev = "v${version}";
    hash = "sha256-ChsuzeFRQFDYGlAE4TWzE+et7yGLOfha1VqGcOdayOs=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  dependencies = [
    fonttools
    pyparsing
    ufolib2
  ];

  nativeCheckInputs = [
    pytestCheckHook
    ufo2ft
  ];

  pythonImportsCheck = [ "vttLib" ];

  meta = {
    description = "Dump, merge and compile Visual TrueType data in UFO3 with FontTools";
    homepage = "https://github.com/daltonmaag/vttLib";
    changelog = "https://github.com/daltonmaag/vttLib/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ jopejoe1 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -17391,6 +17391,8 @@ self: super: with self; {
    enablePython = true;
  });
  vttlib = callPackage ../development/python-modules/vttlib { };
  vulcan-api = callPackage ../development/python-modules/vulcan-api { };
  vultr = callPackage ../development/python-modules/vultr { };