Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
775 B
Nix
42 lines
775 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|