Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

61 lines
1.5 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
pcre2,
doxygen,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "editorconfig-core-c";
version = "0.12.9";
outputs = [
"out"
"dev"
];
src = fetchFromGitHub {
owner = "editorconfig";
repo = "editorconfig-core-c";
tag = "v${finalAttrs.version}";
hash = "sha256-myJNJxKwgmgm+P2MqnYmW8OC0oYcInL+Suyf/xwX9xo=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
doxygen
];
buildInputs = [
pcre2
];
# Multiple doxygen can not generate man pages in the same base directory in
# parallel: https://github.com/doxygen/doxygen/issues/6293
enableParallelBuilding = false;
meta = with lib; {
homepage = "https://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
];
maintainers = with maintainers; [ dochang ];
platforms = platforms.unix;
mainProgram = "editorconfig";
};
})