python311Packages.ufolint: init at 1.2.0
This commit is contained in:
parent
55aaa1a09e
commit
1e5651a8c9
40
pkgs/development/python-modules/ufolint/default.nix
Normal file
40
pkgs/development/python-modules/ufolint/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
@ -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 { };
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user