about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/flit-core/default.nix
blob: a4e0716cf344af4df06248e8ff98f7c90c6a13f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, buildPythonPackage
, flit
}:

buildPythonPackage rec {
  pname = "flit-core";
  inherit (flit) version;
  format = "pyproject";

  inherit (flit) src patches;

  sourceRoot = "${src.name}/flit_core";

  # Tests are run in the "flit" package.
  doCheck = false;

  passthru.tests = {
    inherit flit;
  };

  meta = with lib; {
    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 = licenses.bsd3;
    maintainers = teams.python.members;
  };
}