2022-01-25 03:21:06 +00:00
|
|
|
{ pkgs, nodejs-14_x, stdenv, lib }:
|
2020-12-07 07:45:13 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
nodePackages = import ./node-composition.nix {
|
2022-01-25 03:21:06 +00:00
|
|
|
inherit pkgs;
|
|
|
|
nodejs = nodejs-14_x;
|
2020-12-07 07:45:13 +00:00
|
|
|
inherit (stdenv.hostPlatform) system;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
nodePackages.n8n.override {
|
|
|
|
nativeBuildInputs = with pkgs.nodePackages; [
|
|
|
|
node-pre-gyp
|
|
|
|
];
|
2022-01-25 03:21:06 +00:00
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
passthru.updateScript = ./generate-dependencies.sh;
|
|
|
|
|
2020-12-07 07:45:13 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Free and open fair-code licensed node based Workflow Automation Tool";
|
2022-01-25 03:21:06 +00:00
|
|
|
maintainers = with maintainers; [ freezeboy k900 ];
|
2022-03-30 09:31:56 +00:00
|
|
|
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;
|
|
|
|
};
|
2020-12-07 07:45:13 +00:00
|
|
|
};
|
|
|
|
}
|