1{ lib
2, buildPythonPackage
3, fetchPypi
4, flit
5, isPy3k
6, pytoml
7}:
8
9buildPythonPackage rec {
10 pname = "flit-core";
11 version = "2.3.0";
12 disabled = !isPy3k;
13
14 format = "pyproject";
15
16 src = fetchPypi {
17 inherit version;
18 pname = "flit_core";
19 sha256 = "a50bcd8bf5785e3a7d95434244f30ba693e794c5204ac1ee908fc07c4acdbf80";
20 };
21
22 propagatedBuildInputs = [
23 pytoml
24 ];
25
26 passthru.tests = {
27 inherit flit;
28 };
29
30 meta = {
31 description = "Distribution-building parts of Flit. See flit package for more information";
32 homepage = "https://github.com/takluyver/flit";
33 license = lib.licenses.bsd3;
34 maintainers = [ lib.maintainers.fridh ];
35 };
36}