aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/flit-core/default.nix
blob: 53a1e0651f366a040b4422bf3349e46ea9d86374 (plain)
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
30
31
32
33
34
{ lib
, buildPythonPackage
, flit
, isPy3k
, toml
}:

buildPythonPackage rec {
  pname = "flit-core";
  version = "2.3.0";
  disabled = !isPy3k;
  format = "pyproject";

  inherit (flit) src patches;

  preConfigure = ''
    cd flit_core
  '';

  propagatedBuildInputs = [
    toml
  ];

  passthru.tests = {
    inherit flit;
  };

  meta = {
    description = "Distribution-building parts of Flit. See flit package for more information";
    homepage = "https://github.com/takluyver/flit";
    license = lib.licenses.bsd3;
    maintainers = [ lib.maintainers.fridh ];
  };
}