forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
41 lines (35 loc) · 887 Bytes
/
Copy pathdefault.nix
File metadata and controls
41 lines (35 loc) · 887 Bytes
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,
commandlines,
fonttools,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "ufolint";
version = "1.2.0";
pyproject = true;
# PyPI source tarballs omit tests, fetch from Github instead
src = fetchFromGitHub {
owner = "source-foundry";
repo = "ufolint";
rev = "v${version}";
hash = "sha256-sv8WbnDd2LFHkwNsB9FO04OlLhemdzwjq0tC9+Fd6/M=";
};
build-system = [ setuptools ];
propagatedBuildInputs = [
commandlines
fonttools
]
++ fonttools.optional-dependencies.ufo;
nativeBuildInputs = [ pytestCheckHook ];
meta = {
description = "Linter for Unified Font Object (UFO) source code";
mainProgram = "ufolint";
homepage = "https://github.com/source-foundry/ufolint";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ danc86 ];
};
}