mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-15 10:58:09 +00:00
b9bbd5fcd7
[no changelog] Co-Authored-By: Martin Milata <martin@martinmilata.cz>
21 lines
630 B
Nix
21 lines
630 B
Nix
{ pkgs, nodejs-14_x, stdenv, lib, ... }:
|
|
|
|
let
|
|
|
|
packageName = with lib; concatStrings (map (entry: (concatStrings (mapAttrsToList (key: value: "${key}-${value}") entry))) (importJSON ./package.json));
|
|
|
|
nodePackages = import ./node-composition.nix {
|
|
inherit pkgs;
|
|
inherit (stdenv.hostPlatform) system;
|
|
# FIXME: drop after https://github.com/NixOS/nixpkgs/issues/145432 is fixed
|
|
nodejs = nodejs-14_x;
|
|
};
|
|
in
|
|
nodePackages."${packageName}".override {
|
|
meta = with lib; {
|
|
description = "Type checker for the Python language";
|
|
maintainers = with maintainers; [ mmilata ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|