depot/third_party/nixpkgs/pkgs/development/python-modules/entrypoints/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

36 lines
674 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, flit-core
, configparser
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "entrypoints";
version = "0.4";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-twbt2qkhihnrzWe1aBjwW7J1ibHKno15e3Sv+tTMrNQ=";
};
nativeBuildInputs = [
flit-core
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Discover and load entry points from installed packages";
homepage = "https://github.com/takluyver/entrypoints";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}