2020-05-09 10:34:00 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, flit
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flit-core";
|
2022-03-27 19:10:09 +01:00
|
|
|
inherit (flit) version;
|
2020-05-09 10:34:00 +01:00
|
|
|
format = "pyproject";
|
|
|
|
|
2020-11-29 14:04:28 +00:00
|
|
|
inherit (flit) src patches;
|
|
|
|
|
2024-03-08 17:04:40 +00:00
|
|
|
sourceRoot = "${src.name}/flit_core";
|
2021-08-27 01:35:00 +01:00
|
|
|
|
2023-08-07 08:15:30 +01:00
|
|
|
# Tests are run in the "flit" package.
|
2021-08-27 01:35:00 +01:00
|
|
|
doCheck = false;
|
2021-03-24 15:01:22 +00:00
|
|
|
|
2020-05-09 10:34:00 +01:00
|
|
|
passthru.tests = {
|
|
|
|
inherit flit;
|
|
|
|
};
|
|
|
|
|
2021-08-27 01:35:00 +01:00
|
|
|
meta = with lib; {
|
2020-05-09 10:34:00 +01:00
|
|
|
description = "Distribution-building parts of Flit. See flit package for more information";
|
2022-03-27 19:08:59 +01:00
|
|
|
homepage = "https://github.com/pypa/flit";
|
2023-07-26 08:53:54 +01:00
|
|
|
changelog = "https://github.com/pypa/flit/blob/${src.rev}/doc/history.rst";
|
2021-08-27 01:35:00 +01:00
|
|
|
license = licenses.bsd3;
|
2023-07-26 08:53:54 +01:00
|
|
|
maintainers = teams.python.members;
|
2020-05-09 10:34:00 +01:00
|
|
|
};
|
2020-06-01 09:59:41 +01:00
|
|
|
}
|