nixfromnpm

Generate nix expressions from npm packages.

Latest on Hackage:0.10.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Allen Nelson
Maintained by [email protected]

Given an npm package name and one or more npm repositories, will dump out a collection of nix files, one each for the initial package and all of its dependencies. Will generate a top-level default.nix which returns a set containing all of these expressions. Subsequent invocations of the program using the same target directory will result in re-use of the existing files, to avoid unnecessary duplication.