blob: 0b561bf6f830767340e3bf04028568ec0f2c0b91 (
plain) (
blame)
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
42
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, commandlines
, fonttools
, fs
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ufolint";
version = "1.2.0";
format = "setuptools";
# PyPI source tarballs omit tests, fetch from Github instead
src = fetchFromGitHub {
owner = "source-foundry";
repo = "ufolint";
rev = "v${version}";
hash = "sha256-sv8WbnDd2LFHkwNsB9FO04OlLhemdzwjq0tC9+Fd6/M=";
};
propagatedBuildInputs = [
commandlines
fs
fonttools
];
doCheck = true;
nativeBuildInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Linter for Unified Font Object (UFO) source code";
mainProgram = "ufolint";
homepage = "https://github.com/source-foundry/ufolint";
license = licenses.mit;
maintainers = with maintainers; [ danc86 ];
};
}
|