python311Packages.ufolint: init at 1.2.0

This commit is contained in:
Dan Callaghan 2023-11-25 16:21:03 +11:00
parent 55aaa1a09e
commit 1e5651a8c9
No known key found for this signature in database
GPG Key ID: 26B5AA2FDAF2F30A
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, commandlines
, fonttools
, fs
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ufolint";
version = "1.2.0";
# 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";
homepage = "https://github.com/source-foundry/ufolint";
license = licenses.mit;
maintainers = with maintainers; [ danc86 ];
};
}

View File

@ -2094,6 +2094,8 @@ with pkgs;
ttchat = callPackage ../tools/misc/ttchat { };
ufolint = with python3Packages; toPythonApplication ufolint;
ukmm = callPackage ../tools/games/ukmm { };
unflac = callPackage ../tools/audio/unflac { };

View File

@ -15307,6 +15307,8 @@ self: super: with self; {
ufoLib2 = callPackage ../development/python-modules/ufoLib2 { };
ufolint = callPackage ../development/python-modules/ufolint { };
ufonormalizer = callPackage ../development/python-modules/ufonormalizer { };
ufoprocessor = callPackage ../development/python-modules/ufoprocessor { };