Unverified Commit 238c7bc6 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.foundrytools: init at 0.1.5 (#483275)

parents 6b66de19 20b6d30d
Loading
Loading
Loading
Loading
+60 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  setuptools,

  # dependencies
  afdko,
  cffsubr,
  defcon,
  dehinter,
  fonttools,
  ttfautohint-py,
  ufo2ft,
  ufolib2,
  ufo-extractor,
}:
buildPythonPackage (finalAttrs: {
  pname = "foundrytools";
  version = "0.1.5";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ftCLI";
    repo = "FoundryTools";
    tag = "v${finalAttrs.version}";
    hash = "sha256-dmMu9FTr754ax6dSfz1cn/CgmMVbEECQgyZaW+66UrU=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    afdko
    cffsubr
    defcon
    dehinter
    fonttools
    ttfautohint-py
    ufo-extractor
    ufo2ft
    ufolib2
  ];

  # No tests
  doCheck = false;

  meta = {
    description = "Library for working with fonts in Python";
    homepage = "https://github.com/ftCLI/FoundryTools";
    changelog = "https://github.com/ftCLI/FoundryTools/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [
      qb114514
    ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -5880,6 +5880,8 @@ self: super: with self; {
    inherit (pkgs) foundationdb;
  };
  foundrytools = callPackage ../development/python-modules/foundrytools { };
  fountains = callPackage ../development/python-modules/fountains { };
  foxdot = callPackage ../development/python-modules/foxdot { };