mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
41 lines
641 B
Nix
41 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 ];
|
|
};
|
|
}
|