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