Commit 9dc55ca4 authored by jopejoe1's avatar jopejoe1
Browse files

python3Packages.paintcompiler: init 0.3.4

parent 4bd73755
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  fonttools,
  black,
}:

buildPythonPackage rec {
  pname = "paintcompiler";
  version = "0.3.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "simoncozens";
    repo = "paintcompiler";
    rev = "v${version}";
    hash = "sha256-dmVBQUUyFc71zq8fXBQ4ii/llrGdtUCOponCzSeut6g=";
  };

  build-system = [ setuptools ];

  dependencies = [
    fonttools
    black
  ];

  pythonImportsCheck = [
    "paintcompiler"
    "paintdecompiler"
  ];

  meta = {
    description = "Paint compiler for COLRv1 fonts";
    homepage = "https://github.com/simoncozens/paintcompiler";
    license = lib.licenses.asl20;
    mainProgram = "paintcompiler";
    maintainers = with lib.maintainers; [ jopejoe1 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -9807,6 +9807,8 @@ self: super: with self; {
  paho-mqtt_2 = callPackage ../development/python-modules/paho-mqtt/default.nix { };
  paho-mqtt = paho-mqtt_1;
  paintcompiler = callPackage ../development/python-modules/paintcompiler { };
  palace = callPackage ../development/python-modules/palace { };
  palettable = callPackage ../development/python-modules/palettable { };