Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions pkgs/development/python-modules/fontfeatures/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
lib,
babelfont,
buildPythonPackage,
fetchPypi,
beziers,
fonttools,
fs,
glyphtools,
lxml,
pytestCheckHook,
youseedee,
Expand All @@ -25,12 +23,13 @@ buildPythonPackage rec {
hash = "sha256-3PpUgaTXyFcthJrFaQqeUOvDYYFosJeXuRFnFrwp0R8=";
};

propagatedBuildInputs = [
beziers
dependencies = [
fonttools
fs
glyphtools
lxml
];

optional-dependencies.shaper = [
babelfont
youseedee
];

Expand Down
8 changes: 5 additions & 3 deletions pkgs/development/python-modules/fs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
pytestCheckHook,
pythonAtLeast,
pytz,
setuptools_80,
setuptools,
six,
}:

Expand All @@ -35,10 +35,10 @@ buildPythonPackage rec {
--replace ThreadedTestFTPd FtpdThreadWrapper
'';

build-system = [ setuptools_80 ];
build-system = [ setuptools ];

dependencies = [
setuptools_80
setuptools
six
appdirs
pytz
Expand Down Expand Up @@ -88,6 +88,8 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;

meta = {
# https://github.com/PyFilesystem/pyfilesystem2/issues/577
broken = lib.versionAtLeast setuptools.version "82";
description = "Filesystem abstraction";
homepage = "https://github.com/PyFilesystem/pyfilesystem2";
changelog = "https://github.com/PyFilesystem/pyfilesystem2/blob/v${version}/CHANGELOG.md";
Expand Down
12 changes: 3 additions & 9 deletions pkgs/development/python-modules/statmake/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
cattrs,
fetchFromGitHub,
fonttools,
fs,
poetry-core,
pytestCheckHook,
ufo2ft,
ufolib2,
Expand All @@ -30,16 +28,12 @@ buildPythonPackage rec {
hatchling
hatch-vcs
];

nativeBuildInputs = [ poetry-core ];

propagatedBuildInputs = [
dependencies = [
attrs
cattrs
fonttools
# required by fonttools[ufo]
fs
];
]
++ fonttools.optional-dependencies.ufo;

nativeCheckInputs = [
pytestCheckHook
Expand Down
10 changes: 6 additions & 4 deletions pkgs/development/python-modules/ufolint/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
fetchFromGitHub,
commandlines,
fonttools,
fs,
pytestCheckHook,
setuptools,
}:

buildPythonPackage rec {
pname = "ufolint";
version = "1.2.0";
format = "setuptools";
pyproject = true;

# PyPI source tarballs omit tests, fetch from Github instead
src = fetchFromGitHub {
Expand All @@ -21,11 +21,13 @@ buildPythonPackage rec {
hash = "sha256-sv8WbnDd2LFHkwNsB9FO04OlLhemdzwjq0tC9+Fd6/M=";
};

build-system = [ setuptools ];

propagatedBuildInputs = [
commandlines
fs
fonttools
];
]
++ fonttools.optional-dependencies.ufo;

nativeBuildInputs = [ pytestCheckHook ];

Expand Down
Loading