2020-05-04 19:41:00 +00:00
|
|
|
{ lib, fetchFromGitHub
|
|
|
|
, nodejs, yarn2nix-moretea }:
|
2019-06-04 16:50:29 +00:00
|
|
|
|
|
|
|
let
|
2020-05-04 19:41:00 +00:00
|
|
|
version = lib.fileContents ../../VERSION;
|
2019-09-12 14:30:56 +00:00
|
|
|
yarnLock = ../../mobile/js_files/yarn.lock;
|
|
|
|
packageJSON = ../../mobile/js_files/package.json;
|
2020-04-22 17:05:18 +00:00
|
|
|
packageJSONContent = lib.importJSON packageJSON;
|
2020-05-04 19:41:00 +00:00
|
|
|
in
|
|
|
|
# Create a yarn package for our project that contains all the dependecies.
|
|
|
|
yarn2nix-moretea.mkYarnModules rec {
|
|
|
|
pname = "status-react";
|
|
|
|
name = "${pname}-node-deps-${version}";
|
|
|
|
inherit version packageJSON yarnLock;
|
|
|
|
}
|