Files
nixpkgs/pkgs/development/python-modules/flit-core/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

31 lines
614 B
Nix

{
lib,
buildPythonPackage,
flit,
}:
buildPythonPackage rec {
pname = "flit-core";
inherit (flit) version;
pyproject = true;
inherit (flit) src patches;
postPatch = "cd flit_core";
# Tests are run in the "flit" package.
doCheck = false;
passthru.tests = {
inherit flit;
};
meta = {
description = "Distribution-building parts of Flit. See flit package for more information";
homepage = "https://github.com/pypa/flit";
changelog = "https://github.com/pypa/flit/blob/${src.rev}/doc/history.rst";
license = lib.licenses.bsd3;
teams = [ lib.teams.python ];
};
}