mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
31 lines
630 B
Nix
31 lines
630 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
flit,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flit-core";
|
|
inherit (flit) version;
|
|
format = "pyproject";
|
|
|
|
inherit (flit) src patches;
|
|
|
|
postPatch = "cd flit_core";
|
|
|
|
# Tests are run in the "flit" package.
|
|
doCheck = false;
|
|
|
|
passthru.tests = {
|
|
inherit flit;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Distribution-building parts of Flit. See flit package for more information";
|
|
homepage = "https://github.com/pypa/flit";
|
|
changelog = "https://github.com/pypa/flit/blob/${src.rev}/doc/history.rst";
|
|
license = licenses.bsd3;
|
|
maintainers = teams.python.members;
|
|
};
|
|
}
|