1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 flit-core,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "editables";
11 version = "0.5";
12 format = "pyproject";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-MJYn2bXErcDmaNjG+nusG6fIxdQVwtJ/YPCB+OgNHeI=";
17 };
18
19 nativeBuildInputs = [ flit-core ];
20
21 nativeCheckInputs = [ pytestCheckHook ];
22
23 # Tests not included in archive.
24 doCheck = false;
25
26 pythonImportsCheck = [ "editables" ];
27
28 meta = with lib; {
29 description = "Editable installations";
30 maintainers = with maintainers; [ ];
31 homepage = "https://github.com/pfmoore/editables";
32 license = licenses.mit;
33 };
34}