3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/flit-core/default.nix

35 lines
577 B
Nix
Raw Normal View History

2020-05-09 10:34:00 +01:00
{ lib
, buildPythonPackage
, flit
, isPy3k
2020-11-29 14:04:28 +00:00
, toml
2020-05-09 10:34:00 +01:00
}:
buildPythonPackage rec {
pname = "flit-core";
version = "2.3.0";
disabled = !isPy3k;
format = "pyproject";
2020-11-29 14:04:28 +00:00
inherit (flit) src patches;
preConfigure = ''
cd flit_core
'';
2020-05-09 10:34:00 +01:00
propagatedBuildInputs = [
2020-11-29 14:04:28 +00:00
toml
2020-05-09 10:34:00 +01:00
];
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 ];
};
2020-06-01 09:59:41 +01:00
}