uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
37
pkgs/applications/networking/n8n/default.nix
Normal file
37
pkgs/applications/networking/n8n/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ pkgs, nodejs-16_x, stdenv, lib, nixosTests }:
|
||||
|
||||
let
|
||||
nodePackages = import ./node-composition.nix {
|
||||
inherit pkgs;
|
||||
inherit (stdenv.hostPlatform) system;
|
||||
};
|
||||
in
|
||||
nodePackages.n8n.override {
|
||||
nativeBuildInputs = with pkgs.nodePackages; [
|
||||
node-pre-gyp
|
||||
];
|
||||
|
||||
dontNpmInstall = true;
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
ln -s $out/lib/node_modules/n8n/bin/n8n $out/bin/n8n
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = ./generate-dependencies.sh;
|
||||
tests = nixosTests.n8n;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Free and open fair-code licensed node based Workflow Automation Tool";
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue