Files
nixpkgs/pkgs/development/python-modules/cu2qu/default.nix
T
Michael Daniels 075e8c2c4f treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

56 lines
957 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
# build
cython,
setuptools-scm,
setuptools,
# propagates
defcon,
fonttools,
# tests
pytestCheckHook,
}:
let
pname = "cu2qu";
version = "1.6.7.post2";
in
buildPythonPackage rec {
inherit pname version;
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-HfVi2ZvWBZImCI9ENwK/Uc/djMY2I/IxN0WaeNe/WAg=";
extension = "zip";
};
nativeBuildInputs = [
cython
setuptools
setuptools-scm
];
propagatedBuildInputs = [
defcon
fonttools
]
++ fonttools.optional-dependencies.ufo;
nativeCheckInputs = [ pytestCheckHook ];
meta = {
changelog = "https://github.com/googlefonts/cu2qu/releases/tag/v${version}";
description = "Cubic-to-quadratic bezier curve conversion";
mainProgram = "cu2qu";
homepage = "https://github.com/googlefonts/cu2qu";
license = lib.licenses.asl20;
maintainers = [ ];
};
}