nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 flit-core,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "entrypoints";
11 version = "0.4";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-twbt2qkhihnrzWe1aBjwW7J1ibHKno15e3Sv+tTMrNQ=";
17 };
18
19 nativeBuildInputs = [ flit-core ];
20
21 nativeCheckInputs = [ pytestCheckHook ];
22
23 meta = {
24 description = "Discover and load entry points from installed packages";
25 homepage = "https://github.com/takluyver/entrypoints";
26 license = lib.licenses.mit;
27 maintainers = [ ];
28 };
29}