1{ lib
2, buildPythonPackage
3, flit
4}:
5
6buildPythonPackage rec {
7 pname = "flit-core";
8 inherit (flit) version;
9 format = "pyproject";
10
11 inherit (flit) src patches;
12
13 sourceRoot = "source/flit_core";
14
15 # Tests are run in the "flit" package.
16 doCheck = false;
17
18 passthru.tests = {
19 inherit flit;
20 };
21
22 meta = with lib; {
23 description = "Distribution-building parts of Flit. See flit package for more information";
24 homepage = "https://github.com/pypa/flit";
25 changelog = "https://github.com/pypa/flit/blob/${src.rev}/doc/history.rst";
26 license = licenses.bsd3;
27 maintainers = teams.python.members;
28 };
29}