mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
19 lines
526 B
Nix
19 lines
526 B
Nix
|
{ pkgs, nodejs, 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 nodejs;
|
||
|
inherit (stdenv.hostPlatform) system;
|
||
|
};
|
||
|
in
|
||
|
nodePackages."${packageName}".override {
|
||
|
meta = with lib; {
|
||
|
description = "Type checker for the Python language";
|
||
|
maintainers = with maintainers; [ mmilata ];
|
||
|
license = licenses.mit;
|
||
|
};
|
||
|
}
|