pump.io: 1.0.0 -> 3.0.0
The package stopped building for some unknown reason (npm could no longer fetch a module). This is one of the build failures listed in #23253. http://hydra.nixos.org/build/49551309 http://hydra.nixos.org/build/49548753 Easiest fix is to upgrade to latest stable version and regenerate packages with node2nix. The databank-memcached dependency needed to be dropped due to dependency failures.
This commit is contained in:
parent
453529bd60
commit
252e58a95e
@ -15,15 +15,23 @@ set -e
|
||||
# Also jshon does funny things with slashes in strings, which can be
|
||||
# fixed with sed.
|
||||
|
||||
curl https://raw.githubusercontent.com/e14n/pump.io/v1.0.0/package.json | \
|
||||
VERSION="3.0.0"
|
||||
URL="https://registry.npmjs.org/pump.io/-/pump.io-$VERSION.tgz"
|
||||
SHA1="ycfm7ak83xi8mgafhp9q0n6n3kzmdz16"
|
||||
|
||||
curl https://raw.githubusercontent.com/e14n/pump.io/v$VERSION/package.json | \
|
||||
jshon -e dependencies \
|
||||
-s '*' -i databank-mongodb \
|
||||
-s '*' -i databank-redis \
|
||||
-s '*' -i databank-memcached \
|
||||
-s '*' -i databank-lrucache \
|
||||
-p | sed 's=\\/=/=g' > full-package.json
|
||||
|
||||
node2nix --input full-package.json --composition composition.nix --node-env ../../../development/node-packages/node-env.nix
|
||||
|
||||
# overriding nodePackages src doesn't seem to work, so...
|
||||
sed -i 's|src = ./.|src = fetchurl { url = "https://registry.npmjs.org/pump.io/-/pump.io-1.0.0.tgz"; sha1 = "404mzdqzknrv7pl9qasksi791cc00bbd"; }|' node-packages.nix
|
||||
sed -i "s|src = ./.|src = fetchurl { url = \"$URL\"; sha1 = \"$SHA1\"; }|" node-packages.nix
|
||||
|
||||
# fetchgit or node2nix is having problems with submodules or something.
|
||||
# This is the sha256 for connect-auth which is a npm dep hosted on
|
||||
# github and containing submodules.
|
||||
sed -i "s|d08fecbb72aff14ecb39dc310e8965ba92228f0c0def41fbde3db5ea7a1aac19|1b052xpj10hanx21286i5w0jrwxxkiwbdzpdngg9s2j1m7a9543b|" node-packages.nix
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user