From 8c05a809d70aeeb6c6e23d405ba693040ad00730 Mon Sep 17 00:00:00 2001 From: Parthiv Seetharaman Date: Sun, 16 Jan 2022 21:29:21 -0800 Subject: init the module, README, packages, and other stuff --- pkgs/mx-puppet-groupme/generate.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 pkgs/mx-puppet-groupme/generate.sh (limited to 'pkgs/mx-puppet-groupme/generate.sh') diff --git a/pkgs/mx-puppet-groupme/generate.sh b/pkgs/mx-puppet-groupme/generate.sh new file mode 100755 index 0000000..90f3ca8 --- /dev/null +++ b/pkgs/mx-puppet-groupme/generate.sh @@ -0,0 +1,16 @@ +#! nix-shell -i bash -p nodePackages.node2nix + +# No official release +rev="695f97c3ab834403489bb01517d433498118e482" +u="https://gitlab.com/robintown/mx-puppet-groupme/-/raw/$rev" +# Download package.json and package-lock.json +# curl -o package.json "$u/package.json?inline=false" +curl -o package-lock.json "$u/package-lock.json?inline=false" + +node2nix \ + --nodejs-12 \ + --node-env node-env.nix \ + --input package.json \ + --lock package-lock.json \ + --output node-packages.nix \ + --composition node-composition.nix -- cgit v1.2.3