Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 flit-core, 7 configparser, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "entrypoints"; 13 version = "0.4"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-twbt2qkhihnrzWe1aBjwW7J1ibHKno15e3Sv+tTMrNQ="; 21 }; 22 23 nativeBuildInputs = [ flit-core ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 meta = with lib; { 28 description = "Discover and load entry points from installed packages"; 29 homepage = "https://github.com/takluyver/entrypoints"; 30 license = licenses.mit; 31 maintainers = [ ]; 32 }; 33}