about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorDesmond O. Chang <dochang@gmail.com>2015-10-15 08:26:55 +0800
committerDesmond O. Chang <dochang@gmail.com>2015-10-15 08:26:55 +0800
commit739724b4b0d03ec44c036ec1310ed1c10ba5e96a (patch)
tree7da38d1043bdd190632fc9183becb845de01a7ec /pkgs/development/tools
parentf4dbf6d7c88b457a4476ff97f8c861e0a6540685 (diff)
downloadnixlib-739724b4b0d03ec44c036ec1310ed1c10ba5e96a.tar
nixlib-739724b4b0d03ec44c036ec1310ed1c10ba5e96a.tar.gz
nixlib-739724b4b0d03ec44c036ec1310ed1c10ba5e96a.tar.bz2
nixlib-739724b4b0d03ec44c036ec1310ed1c10ba5e96a.tar.lz
nixlib-739724b4b0d03ec44c036ec1310ed1c10ba5e96a.tar.xz
nixlib-739724b4b0d03ec44c036ec1310ed1c10ba5e96a.tar.zst
nixlib-739724b4b0d03ec44c036ec1310ed1c10ba5e96a.zip
editorconfig-core-c: init at 0.12.0
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/misc/editorconfig-core-c/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/editorconfig-core-c/default.nix b/pkgs/development/tools/misc/editorconfig-core-c/default.nix
new file mode 100644
index 000000000000..83ff85298f47
--- /dev/null
+++ b/pkgs/development/tools/misc/editorconfig-core-c/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchgit, cmake, pcre, doxygen }:
+
+stdenv.mkDerivation rec {
+
+  name = "editorconfig-core-c-${meta.version}";
+
+  src = fetchgit {
+    url = "https://github.com/editorconfig/editorconfig-core-c.git";
+    rev = "99d09270c58b817ea218979d513a90099ade6277";
+    fetchSubmodules = true;
+    sha256 = "0s35dzf2180205xq2xpfmmlfw112j3h87swnisza85qwwz8bf2k9";
+    inherit name;
+  };
+
+  buildInputs = [ cmake pcre doxygen ];
+
+  meta = with stdenv.lib; {
+    homepage = "http://editorconfig.org/";
+    description = "EditorConfig core library written in C";
+    longDescription = ''
+      EditorConfig makes it easy to maintain the correct coding style when
+      switching between different text editors and between different
+      projects. The EditorConfig project maintains a file format and plugins
+      for various text editors which allow this file format to be read and used
+      by those editors. For information on the file format and supported text
+      editors, see the EditorConfig website.
+    '';
+    downloadPage = "https://github.com/editorconfig/editorconfig-core-c";
+    license = with licenses; [ bsd2 bsd3 ];
+    version = "0.12.0";
+    maintainers = [ maintainers.dochang ];
+  };
+
+}