2022-05-06 14:09:52 +00:00
|
|
|
{ pkgs, nodejs-16_x, stdenv, lib, nixosTests }:
|
2020-11-28 16:59:45 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
nodePackages = import ./node-composition.nix {
|
2022-01-08 19:44:46 +00:00
|
|
|
inherit pkgs;
|
2020-11-28 16:59:45 +00:00
|
|
|
inherit (stdenv.hostPlatform) system;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
nodePackages.n8n.override {
|
2022-10-10 15:26:54 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgs.nodePackages.node-pre-gyp
|
2020-11-28 16:59:45 +00:00
|
|
|
];
|
2022-01-08 19:44:46 +00:00
|
|
|
|
2022-10-10 15:26:54 +00:00
|
|
|
buildInputs = [
|
|
|
|
pkgs.postgresql
|
|
|
|
];
|
2022-05-05 19:16:55 +00:00
|
|
|
|
2022-10-10 15:26:54 +00:00
|
|
|
dontNpmInstall = true;
|
2022-05-05 19:16:55 +00:00
|
|
|
|
2022-05-06 14:09:52 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = ./generate-dependencies.sh;
|
|
|
|
tests = nixosTests.n8n;
|
|
|
|
};
|
2022-01-30 16:42:33 +00:00
|
|
|
|
2020-11-28 16:59:45 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Free and open fair-code licensed node based Workflow Automation Tool";
|
2022-01-08 19:44:46 +00:00
|
|
|
maintainers = with maintainers; [ freezeboy k900 ];
|
2022-03-23 07:19:10 +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-11-28 16:59:45 +00:00
|
|
|
};
|
|
|
|
}
|