diff --git a/lib/licenses.nix b/lib/licenses.nix index c7e5b14a37c0..a92e8e0792e5 100644 --- a/lib/licenses.nix +++ b/lib/licenses.nix @@ -995,6 +995,14 @@ in mkLicense lset) ({ url = "https://github.com/thestk/stk/blob/master/LICENSE"; }; + sustainableUse = { + shortName = "sustainable"; + fullName = "Sustainable Use License"; + url = "https://github.com/n8n-io/n8n/blob/master/LICENSE.md"; + free = false; + redistributable = false; # only free to redistribute "for non-commercial purposes" + }; + tsl = { shortName = "TSL"; fullName = "Timescale License Agreegment"; diff --git a/pkgs/applications/networking/n8n/default.nix b/pkgs/applications/networking/n8n/default.nix index e77bd7963b85..26c7d17ff9e1 100644 --- a/pkgs/applications/networking/n8n/default.nix +++ b/pkgs/applications/networking/n8n/default.nix @@ -38,12 +38,6 @@ nodePackages.n8n.override { meta = with lib; { description = "Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services."; maintainers = with maintainers; [ freezeboy k900 ]; - license = { - fullName = "Sustainable Use License"; - url = "https://github.com/n8n-io/n8n/blob/master/LICENSE.md"; - free = false; - # only free to redistribute "for non-commercial purposes" - redistributable = false; - }; + license = licenses.sustainableUse; }; }