blob: c2e6009fa4f7b8acdb48c19a3a147b92083e1f34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
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 ];
};
}
|