nixpkgs/pkgs/development/python-modules/ufolint/default.nix
Martin Weinelt 266c161842
python312Packages: cleanup instances of doCheck = true
This is implicitly the case, and unless `doCheck` is referenced it makes
no sense setting it.
2024-10-26 01:47:02 +02:00

40 lines
818 B
Nix

{
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
];
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 ];
};
}