mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
parent
f3ed2b60a6
commit
34767dec21
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue