nixpkgs/pkgs/development/python-modules/flit-core/default.nix
2021-04-03 17:49:44 +02:00

40 lines
641 B
Nix

{ lib
, buildPythonPackage
, flit
, isPy3k
, toml
, pytestCheckHook
, testpath
}:
buildPythonPackage rec {
pname = "flit-core";
version = "3.2.0";
format = "pyproject";
inherit (flit) src patches;
preConfigure = ''
cd flit_core
'';
propagatedBuildInputs = [
toml
];
checkInputs = [
pytestCheckHook
testpath
];
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 ];
};
}