about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilip Taron <philip.taron@gmail.com>2024-03-19 20:48:21 -0700
committerValentin Gagarin <valentin.gagarin@tweag.io>2024-03-28 21:30:46 +0100
commitac39e45b0448bd6dc593b68f66c4d6cfa0ae2399 (patch)
treeb9fdffe166a56a7294791879ac083c05b6d0156d
parent5b0905b8eaf258dcd5c0d4c04c132ad7296c0023 (diff)
downloadnixlib-ac39e45b0448bd6dc593b68f66c4d6cfa0ae2399.tar
nixlib-ac39e45b0448bd6dc593b68f66c4d6cfa0ae2399.tar.gz
nixlib-ac39e45b0448bd6dc593b68f66c4d6cfa0ae2399.tar.bz2
nixlib-ac39e45b0448bd6dc593b68f66c4d6cfa0ae2399.tar.lz
nixlib-ac39e45b0448bd6dc593b68f66c4d6cfa0ae2399.tar.xz
nixlib-ac39e45b0448bd6dc593b68f66c4d6cfa0ae2399.tar.zst
nixlib-ac39e45b0448bd6dc593b68f66c4d6cfa0ae2399.zip
Avoid top-level `with ...;` in pkgs/tools/misc/graylog/plugins.nix
-rw-r--r--pkgs/tools/misc/graylog/plugins.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/tools/misc/graylog/plugins.nix b/pkgs/tools/misc/graylog/plugins.nix
index e25aeb39f7aa..7907a4c9a225 100644
--- a/pkgs/tools/misc/graylog/plugins.nix
+++ b/pkgs/tools/misc/graylog/plugins.nix
@@ -1,8 +1,13 @@
 { lib, stdenv, fetchurl, unzip, graylog-5_1 }:
 
-with lib;
-
 let
+  inherit (lib)
+    licenses
+    maintainers
+    platforms
+    sourceTypes
+    ;
+
   glPlugin = a@{
     pluginName,
     version,
@@ -78,7 +83,7 @@ in {
     meta = {
       homepage = "https://docs.graylog.org/en/3.3/pages/integrations.html#enterprise";
       description = "Integrations are tools that help Graylog work with external systems (unfree enterprise integrations)";
-      license = lib.licenses.unfree;
+      license = licenses.unfree;
     };
   };
   filter-messagesize = glPlugin rec {
@@ -227,7 +232,7 @@ in {
     meta = {
       homepage = "https://bitbucket.org/proximus/smseagle-graylog/";
       description = "Alert/notification callback plugin for integrating the SMSEagle into Graylog";
-      license = lib.licenses.gpl3Only;
+      license = licenses.gpl3Only;
     };
   };
   snmp = glPlugin rec {
@@ -267,7 +272,7 @@ in {
     meta = {
       homepage = "https://github.com/graylog-labs/graylog-plugin-splunk";
       description = "Graylog output plugin that forwards one or more streams of data to Splunk via TCP";
-      license = lib.licenses.gpl3Only;
+      license = licenses.gpl3Only;
     };
   };
   twiliosms = glPlugin rec {