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