Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 40 lines 641 B view raw
1{ lib 2, buildPythonPackage 3, flit 4, isPy3k 5, toml 6, pytestCheckHook 7, testpath 8}: 9 10buildPythonPackage rec { 11 pname = "flit-core"; 12 version = "3.2.0"; 13 format = "pyproject"; 14 15 inherit (flit) src patches; 16 17 preConfigure = '' 18 cd flit_core 19 ''; 20 21 propagatedBuildInputs = [ 22 toml 23 ]; 24 25 checkInputs = [ 26 pytestCheckHook 27 testpath 28 ]; 29 30 passthru.tests = { 31 inherit flit; 32 }; 33 34 meta = { 35 description = "Distribution-building parts of Flit. See flit package for more information"; 36 homepage = "https://github.com/takluyver/flit"; 37 license = lib.licenses.bsd3; 38 maintainers = [ lib.maintainers.fridh ]; 39 }; 40}