diff options
author | goibhniu <cillian.deroiste@gmail.com> | 2015-10-22 23:26:26 +0200 |
---|---|---|
committer | goibhniu <cillian.deroiste@gmail.com> | 2015-10-22 23:26:26 +0200 |
commit | b7844945776ede6dadbdd065b5c49b2f97d2f459 (patch) | |
tree | 1d0cc2967a6847fbba0658a4e296133cf836d2a0 | |
parent | bac94c5101f325ebfe6f737be7fd6614f9c7360d (diff) | |
parent | 739724b4b0d03ec44c036ec1310ed1c10ba5e96a (diff) |
Merge pull request #10395 from dochang/editorconfig-core-c
editorconfig-core-c: init at 0.12.0
-rw-r--r-- | pkgs/development/tools/misc/editorconfig-core-c/default.nix | 34 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 36 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 0000000000000..83ff85298f470 --- /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 ]; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e9768fe4eb8b3..60601bcf61961 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5511,6 +5511,8 @@ let drush = callPackage ../development/tools/misc/drush { }; + editorconfig-core-c = callPackage ../development/tools/misc/editorconfig-core-c { }; + eggdbus = callPackage ../development/tools/misc/eggdbus { }; egypt = callPackage ../development/tools/analysis/egypt { }; |