EditorConfig: init at 0.12.0

fixes #19163
This commit is contained in:
Alexandre Peyroux 2016-10-02 16:57:07 +02:00 committed by Jörg Thalheim
parent f3ed2b60a6
commit 34767dec21
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -6206,6 +6206,31 @@ in modules // {
};
};
EditorConfig = buildPythonPackage rec {
name = "EditorConfig-${version}";
version = "0.12.0";
# fetchgit used to ensure test submodule is available
src = pkgs.fetchgit {
url = "https://github.com/editorconfig/editorconfig-core-py";
rev = "refs/tags/v${version}";
sha256 = "0svk7id7ncygj2rnxhm7602xizljyidk4xgrl6i0xgq3829cz4bl";
};
buildInputs = [ pkgs.cmake ];
checkPhase = ''
cmake .
# utf_8_char fails with python3
ctest -E "utf_8_char" .
'';
meta = {
homepage = "http://editorconfig.org";
description = "EditorConfig File Locator and Interpreter for Python";
license = stdenv.lib.licenses.psfl;
};
};
elasticsearch = buildPythonPackage (rec {
name = "elasticsearch-1.9.0";