2022-02-11 11:05:20 +00:00
|
|
|
{ pkgs, nodejs-14_x, stdenv, lib, ... }:
|
2022-01-05 16:31:31 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
packageName = with lib; concatStrings (map (entry: (concatStrings (mapAttrsToList (key: value: "${key}-${value}") entry))) (importJSON ./package.json));
|
|
|
|
|
|
|
|
nodePackages = import ./node-composition.nix {
|
2022-02-11 11:05:20 +00:00
|
|
|
inherit pkgs;
|
2022-01-05 16:31:31 +00:00
|
|
|
inherit (stdenv.hostPlatform) system;
|
2022-02-11 11:05:20 +00:00
|
|
|
# FIXME: drop after https://github.com/NixOS/nixpkgs/issues/145432 is fixed
|
|
|
|
nodejs = nodejs-14_x;
|
2022-01-05 16:31:31 +00:00
|
|
|
};
|
|
|
|
in
|
|
|
|
nodePackages."${packageName}".override {
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Type checker for the Python language";
|
|
|
|
maintainers = with maintainers; [ mmilata ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|