9 buildPythonPackage rec {
10 pname = "editorconfig";
14 src = fetchFromGitHub {
15 owner = "editorconfig";
16 repo = "editorconfig-core-py";
18 hash = "sha256-+m674bLj6xs7MWU+8BMixEwy7/TjyES0lvCLLogTDHQ=";
19 fetchSubmodules = true;
22 nativeBuildInputs = [ setuptools ];
24 nativeCheckInputs = [ cmake ];
26 dontUseCmakeConfigure = true;
37 pythonImportsCheck = [ "editorconfig" ];
40 description = "EditorConfig File Locator and Interpreter for Python";
41 mainProgram = "editorconfig";
42 homepage = "https://github.com/editorconfig/editorconfig-core-py";
43 license = licenses.psfl;
44 maintainers = with maintainers; [ nickcao ];