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
|
|
@ -0,0 +1,32 @@
|
|||
{ pkgs, nodejs, stdenv, fetchFromGitHub, lib, ... }:
|
||||
let
|
||||
src = fetchFromGitHub {
|
||||
owner = "matrix-org";
|
||||
repo = "matrix-appservice-slack";
|
||||
rev = "1.11.0";
|
||||
sha256 = "U1EHL1ZwcpCXA9sjya6ry/3Q+gwdQWPUDFN+wp1qjrg=";
|
||||
};
|
||||
|
||||
nodePackages = import ./node-composition.nix {
|
||||
inherit pkgs nodejs;
|
||||
inherit (stdenv.hostPlatform) system;
|
||||
};
|
||||
in
|
||||
nodePackages.package.override {
|
||||
pname = "matrix-appservice-slack";
|
||||
|
||||
inherit src;
|
||||
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
makeWrapper '${nodejs}/bin/node' "$out/bin/matrix-appservice-slack" \
|
||||
--add-flags "$out/lib/node_modules/matrix-appservice-slack/lib/app.js"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Matrix <--> Slack bridge";
|
||||
maintainers = with maintainers; [ beardhatcode ];
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue