Patch is from ewemoa on IRC and claims it built successfully. User didn't want to create a Github account. Original patch is at https://pastee.org/zx45s
Some npm packages strictly require a specific npm version because npm
don't handle some version requirements the same way in 1.0 and 2.0.
However, Nix don't use npm for dependency resolution (this is always
achieved with npm 1.0 criteria by npm2nix), so these requirements turns
out to be pointless and just crashes some package installations.
This patch removes npm requirements so the packages can still be built.
This solves #5787.
Grails is an Open Source, full stack, web application framework for the
JVM. It takes advantage of the Groovy programming language and
convention over configuration to provide a productive and stream-lined
development experience.
http://grails.org/
This is a drop-in replacement that handles nodejs recursive dependencies by
propagating already visited nodejs packages and creating shims for recursive
ones. This implementation handles both, new and old npm2nix output format.
This is because of an error while using `nix` under Archlinux:
```
building path(s) `/nix/store/rwkcbhv9jfhzhandfslg62knl2xw0r7m-node-sources'
building /nix/store/rwkcbhv9jfhzhandfslg62knl2xw0r7m-node-sources
suspicious ownership or permission on `/nix/store/rwkcbhv9jfhzhandfslg62knl2xw0r7m-node-sources'; rejecting this build output
cannot build derivation `/nix/store/01qsszx9y2kyx1x72zr5magy2la98720-uglify-js-2.4.15.drv': 1 dependencies couldn't be built
```
The permissions on all file are like the following:
```
drwxrwxr-x 1 root root 358 Jun 9 17:04 .
drwxr-xr-x 1 root root 421110 Jul 21 15:49 ..
-rw-rw-r-- 1 root root 22 Jun 9 17:04 .gitattributes
```
After the fix, permissions are OK, and no suspicious error any more.
Error is encountered for any node package built. I'm not sure why it
fails on Arch but work on nixos, but I believe the flag is safe to add
anyway.
This implements some longstanding work of getting the Chromium
derivation more modular. Unfortunately, I didn't manage to decrease the
compile time, which was one of the primary goal for doing the refactor.
A main reason this didn't work out well was the fact that most bundled
libraries are so heavily patched that it's not possible within a limited
time frame to decouple it from the main derivation.
However, it should now be easier to build other derivations that build
upon Chromium, like libcef. Also, it finally adds support for the
non-free PepperAPI Flash and PDF plugins and support for fetching the
corresponding versions through the updater.
The current version of v8 breaks builds of nodejs, mongodb and
rethinkdb. So let's bring back the old package with annoying _3_14
version suffix so hopefully the corresponding maintainers will get rid
of that dependency :-)
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
[Bjørn Forsman <bjorn.forsman@gmail.com>:
- introduce "name-${version}" (to not duplicate version number)
- use mirror://sourceforge instead of specific mirror URL
- add vertical whitespace between attributes
- add meta description and homepage attributes
- place the top-level 'xmlindent' attribute in alphabetial order
]
I removed darwin-specific bits, as I can't test them right now. If
it's broken, let me know and I'll fix on darwin.
Signed-off-by: Shea Levy <shea@shealevy.com>
This set of packages for Plone was generated using
cillianderoiste/python2nix, which is forked from garbase/python2nix.
It uses ```buildout annotate``` to dump a set of packages and their
versions based on an installed Plone instance and then looks up these
packages on pypi, gets the relevant download url and sets some
(minimal) buildInputs where required.
The packages are not ready to be used on their own yet, since they
lack complete dependencies. In the future we can move complete package
expressions into a better location so that they can be re-used.
The packages are also lacking metadata. They are all available under
Free licenses (mostly Zope Public License, GPL or BSD), but the script
does not yet fill that information in. It should be pretty easy to get
hold of it, plus the short description and home page from pypi, this
will be added to the script in the future so that the license
information is accurate.