summary refs log tree commit diff
path: root/pkgs/servers/web-apps/ethercalc/default.nix
blob: 270b2e4cff7b63b1f22e729753f2b1dd67ec68ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv
, pkgs
, lib
, nodejs-14_x
}:

let
  nodejs = nodejs-14_x;

  nodePackages = import ./node-packages.nix {
    inherit pkgs nodejs;
    inherit (stdenv.hostPlatform) system;
  };

  ethercalc = lib.head (lib.attrValues nodePackages);

  combined = ethercalc.override {
    meta = with lib; {
      description = "Online collaborative spreadsheet";
      license = with licenses; [ cpal10 artistic2 mit asl20 cc0 mpl20 ];
      homepage = "https://github.com/audreyt/ethercalc";
      maintainers = with maintainers; [ iblech ];
      platforms = platforms.unix;
    };
  };
in
  combined