editorconfig-checker: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:00:00 -05:00
parent b49ca4818d
commit 6552397b67
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ buildGoModule, fetchFromGitHub, lib }:
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
buildGoModule rec {
pname = "editorconfig-checker";
@ -13,7 +13,9 @@ buildGoModule rec {
modSha256 = "1iiv12ginb3ky739z7v8wf4z5lv24gmghbybs3lzay0kqn449n4x";
meta = with lib; {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "A tool to verify that your files are in harmony with your .editorconfig";
homepage = "https://editorconfig-checker.github.io/";
license = licenses.mit;

View File

@ -10233,7 +10233,9 @@ in
drush = callPackage ../development/tools/misc/drush { };
editorconfig-checker = callPackage ../development/tools/misc/editorconfig-checker { };
editorconfig-checker = callPackage ../development/tools/misc/editorconfig-checker {
inherit (darwin.apple_sdk.frameworks) Security;
};
editorconfig-core-c = callPackage ../development/tools/misc/editorconfig-core-c { };